Questions about Hotspot FullGC
I used System. gc(), which undoubtedly triggered FullGC.
Why does triggering FullGC cause objects in eden to move to old gen?.
I think only YGC would move objects to old gen.
Will there be a phenomenon of objects being promoted to the old gen in FGC?
Before invoking System.gc(), I used jmap heap to check that the tenured generation occupies 0mb of space. After invoking System.gc(), the tenured generation occupies more than 0mb of space.
Java process consumes too much memory
I have a Java process that needs to enlarge heap memory. To test how much I need to add I set the limit to a maximum of OS (128 GB) and let the process run while I analyze it with tools like VisualVM, jstatd, and all others.
Java process consumes too much memory
I have a Java process that needs to enlarge heap memory. To test how much I need to add I set the limit to a maximum of OS (128 GB) and let the process run while I analyze it with tools like VisualVM, jstatd, and all others.
What is the interaction between GC roots and the remembered set?
I’m trying to better understand the interaction between GC roots and the remembered set with a similar question posed here.
Deleting current controls in java and garbage collection
My Java application allows users to create an interface of controls (GUI) and delete them and place new controls on the interface.
CPU Usage increases caused by G1 GC
after about 10m after staring my application the CPU increases to ~20%.
Here are the Garbage Collector stats
. What I can see is that the CPU usage increases when at that point when the YGC increases way faster than before. It starts at Timestamp 706.3
CPU Usage increases caused by GC1
after about 10m after staring my application the CPU increases to ~20%.
Here are the Garbage Collector stats
. What I can see is that the CPU usage increases when at that point when the YGC increases way faster than before. It starts at Timestamp 706.3
GC PS MarkSweep doing 20s+ pauses in JVM 11
I am working on a Java 11 application which requires a lot of memory.