[Java SE] GC is Extremely Slow Due to System Swap Activity
(Doc ID 1262554.1)
Last updated on APRIL 15, 2024
Applies to:
Java SE JDK and JRE - Version 1.4.2 and laterInformation in this document applies to any platform.
Symptoms
Garbage Collection (GC) takes a very long time to complete. During this time any application threads are all paused and the application seems to hang. If the Java option -XX:+PrintGCDetails is used to report the GC activity, a very long "real" time will be reported, while "user" and "sys" times are much smaller:
Changes
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 |
Changes |
Cause |
Solution |