Skip to content

gc-tuning

5 Posts

Long GC Pauses in Java: How to Find the Real Cause

Long GC pauses in Java often aren't the collector's fault. Tell CPU throttling, swap, evacuation failure and reference processing apart using the GC log.

Minor GC vs Full GC vs Major GC in Java, Explained

Minor GC vs full GC is clear. 'Major GC' isn't, and it means different things per collector. What each pause collects, what triggers it, and how to read it.

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.