Skip to content

jvm-memory

2 Posts

Java Heap Size in Containers: -Xmx vs MaxRAMPercentage

Java heap size in a container isn't what -Xmx says. How the JVM derives it from the cgroup limit, why 75% heaps still get OOMKilled, and how to budget the rest.