Update JVM arguments for memory tuning in Dockerfile#1427
Update JVM arguments for memory tuning in Dockerfile#1427srosset81 merged 3 commits intoassemblee-virtuelle:masterfrom
Conversation
|
added -XX:InitialRAMPercentage=50.0 -XX:MaxRAMPercentage=80. |
|
-XX:+UseContainerSupport can also be used to inform Java that it is running under a container |
There was a problem hiding this comment.
Could you replace this now-unused ENV var with two vars (initial & max percentage), so that users of the Docker image can fine-tune it according to their needs ?
There was a problem hiding this comment.
MaxRAMPercentage parameter allows setting the maximum heap size for a JVM running with a large amount of memory (greater than 200 MB).
The MinRAMPercentage parameter, unlike its name, allows setting the maximum heap size for a JVM running with a small amount of memory (less than 200MB).
Sounds like a good option to add ! |
added -XX:+UseContainerSupport
Commented out the JAVA_MX_RAM now unused environment variable for tuning.
No description provided.