G1 GC Performance Tuning Tips

Long concurrent marking cycle.

-XX:ConcGCThreads
-XX:InitiatingHeapOccupancyPercent

[Full GC (Allocation Failure)

Increase min and max heap -Xms and -Xmx

GC log and Heap Dump Analysis may be required.

To-space exhausted

-XX:G1ReservePercent.

Mixed collection pause is too long

-XX:InitiatingHeapOccupancyPercent
-XX:G1MixedGCCountTarget
-XX:G1MixedGCLiveThresholdPercent
-XX:G1HeapWastePercent

Humongous allocation

-XX:G1HeapRegionSize

Leave a Reply