Please use a tool like visualvm and verify that you are not running out of heap. Just so we can be 100% sure this is not the case. Also take a look at the GC-graph. How much is the GC working when Gerrit starts to slow down/hangs?
Are you using the default GarbageCollector or have you tweaked the java launch settings?
What “java -xmx” value are you running with?
Would you mind adding the java flag “-XX:+PrintCommandLineFlags” to your Gerrit launch script (or JAVA_OPTS if that’s what you are using) and post the output?
It really sounds like you are running out if heap and the GC is working like crazy….
/Gustaf
--
Hi!
1GB Max Heap seems really low (if you are not running a _very_ small installation).
Please try double (or triple) it by setting container.heapLimit in gerrit.config.
Best regards
Gustaf
From: repo-d...@googlegroups.com [mailto:repo-d...@googlegroups.com] On Behalf Of Rich Schmitt
Sent: den 13 mars 2013 13:21
To: repo-d...@googlegroups.com
Subject: Re: Gerrit Hangs with Java Heap Exhausted
This has happened again.
--
We actually use a 100gb heap, takes some tweaking to get it to perform but.... :-)
--
Which version are you running with the 100GB heap? How do you have you garbage collector configured?
On Monday, March 25, 2013 10:40:01 am Colby Ranger wrote:Also, how much RAM does your system have. I would advise
> Which version are you running with the 100GB heap? How do
you have you
> garbage collector configured?
leaving at least 25-50% more just for OS/FS caching,
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en