Skip to content
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

Closed
Tracked by #1805
xggz opened this issue Sep 7, 2023 · 6 comments
Closed
Tracked by #1805

java实例伸缩的内存设置3G/5G时,内存优化失败 #1759

xggz opened this issue Sep 7, 2023 · 6 comments
Assignees
Labels
Bug BUG Feedback
Milestone

Comments

@xggz
Copy link

xggz commented Sep 7, 2023

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

@xggz xggz added the Bug BUG Feedback label Sep 7, 2023
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: When the memory of java instance stretching is set to 3G/5G, the memory optimization fails

@xggz
Copy link
Author

xggz commented Sep 7, 2023

除了设置为1G,估计其它奇数内存都会优化失败

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


In addition to setting it to 1G, it is estimated that other odd memory will fail to optimize

@yangkaa yangkaa added this to the 5.17.0 milestone Jan 4, 2024
@yangkaa yangkaa moved this to Todo in Development Plan Jan 4, 2024
@DokiDoki1103 DokiDoki1103 mentioned this issue Jan 11, 2024
32 tasks
@DokiDoki1103
Copy link
Contributor

DokiDoki1103 commented Jan 16, 2024

docker images|grep builder
请问您的builer 的版本是多少?

@goodrain goodrain deleted a comment from Issues-translate-bot Jan 16, 2024
@xggz
Copy link
Author

xggz commented Jan 17, 2024

之前忘记哪个版本了,升级到5.16后没有这个问题了

@xggz xggz closed this as completed Jan 17, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I forgot which version I had before, but after upgrading to 5.16, I no longer have this problem.

@github-project-automation github-project-automation bot moved this from Todo to Test in Development Plan Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug BUG Feedback
Projects
Status: Test
Development

No branches or pull requests

4 participants