My Oracle Support Banner

Troubleshooting Long Garbage Collection Pauses (Doc ID 1575592.1)

Last updated on SEPTEMBER 20, 2023

Applies to:

Java SE JDK and JRE - Version 5 and later
Information in this document applies to any platform.

Purpose

To provide guidance on solving long pauses during garbage collection (GC) with the HotSpot JVM.

Troubleshooting Steps

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Troubleshooting Steps
 Causes
 1. Fragmentation in the heap
 2. Other OS activities happening at the time of GC
 3. Insufficient heap size
 4. Bug in the JVM
 5. Explicit System GCs
 Alternatives to Fix

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.