We recently came across a issue where the java application was frequently facing the OutofMemory Exception.
But when you running them on containers than VM allocates a larger fraction of memory to the Java Heap. To turn off this behaviour, set the -XX:-UseContainerSupport
When
-XX:MaxRAMPercentage
/ -XX:InitialRAMPercentage
are used with -XX:+UseContainerSupport
, the corresponding heap setting is determined based on the memory limit of the container.
0 comments:
Post a Comment