g1gc Questions

2

With j7u5, G1GC "-Xms3200m -Xmx3200m -XX:+UseG1GC -XX:ParallelGCThreads=14 -XX:ConcGCThreads=4 -XX:MaxGCPauseMillis=40 -XX:NewRatio=2 -XX:SurvivorRatio=10 -XX:+PrintGC -XX:+PrintGCDateStamps" fo...
Verdieverdigris asked 27/12, 2012 at 7:57

6

I wonder what the official status of the "garbage first" (G1) collector in the JDK 7 release is. I would like to use G1 as a low pause gc alternative to CMS, but only if I can really trust on its r...
Industry asked 3/12, 2011 at 17:34

1

Solved

I set ParallelGCThreads=1 and use G1 GC, all other JVM settings are default. I run PageRank on Spark-1.5.1 with two EC2 nodes 100 GB heap each. My heap usage graph is below (Red area: young genera...
Laban asked 3/1, 2016 at 7:43

8

Java 7 has been out for a while now, but I cannot find any good resources on the configuration of the garbage collectors, specifically the new G1 collector. My questions: Is G1 the default colle...
Maieutic asked 13/11, 2011 at 11:50

1

Solved

In the context of an in-memory database, we are using off-heap memory in conjunction to the G1 collector of hotspot. However, when off-heap memory usage reaches MaxDirectMemorySize, a full GC is t...
Draughtsman asked 20/11, 2015 at 16:58

1

I was wondering if someone is able to explain to me how to interpret some G1 GC logs that lead up to an OutOfMemoryError? I know that a heap dump is the best bet for finding out what is actually u...
Funds asked 4/6, 2015 at 4:50

1

Solved

When I enable G1 in java application with -Xmx=1024m -XX:+UseG1GC. And using jvisualvm command to check max heap size. The max heap size is 2GB instead of 1GB. Does anybody know why ?
Chromous asked 12/8, 2015 at 3:46

1

Solved

While moving from CMS to G1 for some of our applications, I noticed that one of them suffered from a startup time extended by factor 4. Application stop time due to GC cycles is not the cause. On c...
Rhondarhondda asked 25/5, 2015 at 9:22

1

Solved

In Java 8 Update 45, adding these options to the java call: -XX:+PrintGCApplicationStoppedTime -XX:+PrintSafepointStatistics -XX:PrintSafepointStatisticsCount=1 shows me statistics like these: ...
Thorbert asked 22/5, 2015 at 9:45

1

I am running a build system. We used to use CMS collector, but we started suffering under very long full GC cycles, throughput (time not doing GC) was around 90%. So I now decided to switch to G1 w...
Wailoo asked 6/3, 2015 at 14:57

5

Solved

We have a fairly big application running on a JBoss 7 application server. In the past, we were using ParallelGC but it was giving us trouble in some servers where the heap was large (5 GB or more) ...
Ehlke asked 28/11, 2013 at 20:31

2

Solved

I am running a Java program with the G1 garbage collector using the following options: -XX:-UseBiasedLocking -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -verbose:gc -XX:+PrintGCTimeStamps -XX...
Pierrette asked 16/9, 2011 at 9:36

1

I'm currently evaluating the G1 garbage collector and how it performs for our application. Looking at the gc-log, I noticed a lot of collections have very long "Scan RS" phases: 7968.869: [GC paus...
Micrography asked 12/7, 2013 at 12:18

2

Solved

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, mixed mode) with G1 garbage collector. JVM argumens are...
Bragi asked 15/1, 2013 at 2:40

2

Solved

I have hit counter running on Java. It works 24 hours and hits pass at about 100 times per second. During the day GC processing time slowly rises from 20-60 ms till 10000-60000 ms and then drops to...
Allocate asked 14/9, 2012 at 17:18

1

Solved

I've noticed occasional full GC's in my application using the G1 garbage collector, and am trying to figure out why they happen. The cycle from one region-scan-start to the next is excerpted belo...
Acedia asked 29/10, 2012 at 20:21

4

Solved

Just curious. I heard something about the new G1GC addressing that latency problem. I can't / don't want to use RTSJ. Thanks in advance
Reduplication asked 24/3, 2012 at 4:41

1

Solved

I am using the G1 garbage collector with JDK1.7.0, but the VM does not recognize the option G1YoungGenSize. Specifically, when I run: java -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1Young...
Paramagnetic asked 23/8, 2010 at 5:38

3

Solved

I'd like to know what are the experiences with G1 garbage collector in newest JDK? I see NullPointerException thrown in my program, although code didn't change and behave correctly in earlier JDKs....
Pantie asked 12/6, 2009 at 14:36

© 2022 - 2024 — McMap. All rights reserved.