My Oracle Support Banner

Java SE Frequent Full GCs Occur when JFR Default Recordings Are Requested (Doc ID 2760409.1)

Last updated on MARCH 31, 2023

Applies to:

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

Symptoms

Full Garbage Collections (GCs) are initiated approximately every minute for reason of "Heap Inspection Initiated GC" when default Java Flight Recorder (JFR) recordings are requested with the following java command line argument:

Only a default recording is enabled, which should not have any profiling or heap statistics settings that trigger Full GCs.  The problem does not occur when removing the JFR flag.

Cause

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
Symptoms
Cause
Solution


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