【发布时间】:2021-11-20 08:29:30
【问题描述】:
Picked up _JAVA_OPTIONS: -Xms128m -Xmx256m
[0.013s][warning][gc,ergo] NewSize was set larger than initial heap size, will use initial heap size.
[0.013s][warning][gc,ergo] MaxNewSize (409600k) is equal to or greater than the entire heap (262144k). A new max generation size of 262080k will be used.
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
CMSRescanMultiple (32) must be less than or equal to ergonomic maximum (2) which is based on the maximum size of the old generation of the Java heap
CMSConcMarkMultiple (32) must be less than or equal to ergonomic maximum (2) which is based on the maximum size of the old generation of the Java heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Picked up _JAVA_OPTIONS: -Xms128m -Xmx256m
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
[0.008s][warning][gc,ergo] NewSize was set larger than initial heap size, will use initial heap size.
[0.009s][warning][gc,ergo] MaxNewSize (409600k) is equal to or greater than the entire heap (262144k). A new max generation size of 262080k will be used.
CMSRescanMultiple (32) must be less than or equal to ergonomic maximum (2) which is based on the maximum size of the old generation of the Java heap
CMSConcMarkMultiple (32) must be less than or equal to ergonomic maximum (2) which is based on the maximum size of the old generation of the Java heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
【问题讨论】:
-
欢迎来到 Stack Overflow。虽然似乎有些人能够根据您提供的日志帮助解决您的问题,但我仍然鼓励您阅读How do I ask a good question? 页面。您的问题至少可以从包含允许其他人尝试重现您的问题的最小 Dockerfile 中受益。
标签: java docker cassandra cassandra-4.0 java-heap