Top "G1gc" questions

G1 or Garbage First is a generational partially collecting concurrent and parallel garbage collection algorithm.

java.lang.OutOfMemoryError: GC overhead limit exceeded

I am getting this error in a program that creates several (hundreds of thousands) HashMap objects with a few (15-20) …

java hashmap heap heap-memory g1gc
Java 7 (JDK 7) garbage collection and documentation on G1

Java 7 has been out for a while now, but I cannot find any good resources on the configuration of the …

java garbage-collection java-7 heap-memory g1gc
UseConcMarkSweepGC vs UseParallelGC

I'm currently having problems with very long garbage collection times. please see the followig. My current setup is that I'm …

java performance garbage-collection g1gc concurrent-mark-sweep
Java G1 garbage collection in production

Since Java 7 is going to use the new G1 garbage collection by default is Java going to be able to …

java garbage-collection java-7 g1gc
Is -XX:+UseG1GC the correct replacement for -Xincgc?

Currently, we are using the incremental garbage collector by adding -Xincgc to the java command. In JDK 8 this switch is …

java java-8 garbage-collection g1gc
How does the Garbage-First Garbage Collector work?

Can someone explain how the G1 Garbage Collector works please? I haven't been able to find any comprehensive, easy-to-understand descriptions …

java garbage-collection g1gc
G1 garbage collector: Perm Gen fills up indefinitely until a Full GC is performed

We have a fairly big application running on a JBoss 7 application server. In the past, we were using ParallelGC but …

java garbage-collection jboss7.x g1gc
How to know region size used of G1 garbage collector?

I'm currently looking into G1 GC in latest Java 8 version. I have issues with "Humongous Allocation" so I wanna know …

java g1gc
Why doesn't G1 start a marking cycle when the InitiatingHeapOccupancyPercent is achieved?

According to the documentation, XX:InitiatingHeapOccupancyPercent Sets the Java heap occupancy threshold that triggers a marking cycle. The default occupancy …

java garbage-collection g1gc
Why is G1 Full GC being triggered seeminly unnecessarily?

I am using java version "1.7.0_09" Java(TM) SE Runtime Environment (build 1.7.0_09-b05) Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, …

java garbage-collection g1gc