-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java实例伸缩的内存设置3G/5G时,内存优化失败 #1759
Comments
Title: When the memory of java instance stretching is set to 3G/5G, the memory optimization fails |
除了设置为1G,估计其它奇数内存都会优化失败 |
In addition to setting it to 1G, it is estimated that other odd memory will fail to optimize |
|
之前忘记哪个版本了,升级到5.16后没有这个问题了 |
I forgot which version I had before, but after upgrading to 5.16, I no longer have this problem. |
Optimizing java process for 1G Memory....
Picked up JAVA_TOOL_OPTIONS: -Xms720m -Xmx720m -Xss512k -XX:MaxDirectMemorySize=96M -Dfile.encoding=UTF-8
Optimizing java process for 2G Memory....
Picked up JAVA_TOOL_OPTIONS: -Xms1420m -Xmx1420m -Xss512k -XX:MaxDirectMemorySize=192M -Dfile.encoding=UTF-8
这是3G的失败日志:
The environment variable $MEMORY_SIZE was not identified,The Java process will not be optimized....
Since there is no limit on instance memory, JVM memory is not set
Optimizing java process for 4G Memory....
Picked up JAVA_TOOL_OPTIONS: -Xms2840m -Xmx2840m -Xss512k -XX:MaxDirectMemorySize=384M -Dfile.encoding=UTF-8
这是5G的失败日志:
The environment variable $MEMORY_SIZE was not identified,The Java process will not be optimized....
Since there is no limit on instance memory, JVM memory is not set
The text was updated successfully, but these errors were encountered: