Re: Low pause GC for java 1.6

2012-07-09 Thread Otis Gospodnetic
ent: Saturday, June 30, 2012 9:48 PM > Subject: Re: Low pause GC for java 1.6 > > Nothing? > > Bill Bell > Sent from mobile > > > On Jun 29, 2012, at 9:09 PM, Bill Bell wrote: > >> We are getting large Solr pauses on Java garbage collection in 1.6 Java. &

Re: Low pause GC for java 1.6

2012-07-02 Thread Greg Bowyer
My first question would be, do you need 16GB of heap, thats a lot and will contribute to long pauses, what happens if you try it out with 8GB, are you trying to be too greedy with the caches ? You question is very open ended, tuning a GC is an art from, what works for one workload is often qui

Re: Low pause GC for java 1.6

2012-07-01 Thread Jack Krupansky
oblem with Lucene/Solr itself. -- Jack Krupansky -Original Message- From: Bill Bell Sent: Sunday, July 01, 2012 1:28 AM To: dev@lucene.apache.org Cc: Subject: Re: Low pause GC for java 1.6 It GC after about 10 minutes. Bill Bell Sent from mobile On Jun 30, 2012, at 10:48 PM, "

Re: Low pause GC for java 1.6

2012-07-01 Thread Shawn Heisey
On 6/30/2012 7:48 PM, Bill Bell wrote: Nothing? Bill Bell Sent from mobile On Jun 29, 2012, at 9:09 PM, Bill Bell wrote: We are getting large Solr pauses on Java garbage collection in 1.6 Java. We have tried CMS. But we still have. 4 second wait on GC. What works well for Solr when using

Re: Low pause GC for java 1.6

2012-06-30 Thread Bill Bell
-- Jack Krupansky > > -Original Message- From: Bill Bell > Sent: Saturday, June 30, 2012 8:48 PM > To: Bill Bell > Cc: dev@lucene.apache.org > Subject: Re: Low pause GC for java 1.6 > > Nothing? > > Bill Bell > Sent from mobile > > > On Jun 29

Re: Low pause GC for java 1.6

2012-06-30 Thread Jack Krupansky
question is whether the GC delay is being caused because your JVM heap is too small (thrashing) or too large (long GC elapsed time.) -- Jack Krupansky -Original Message- From: Bill Bell Sent: Saturday, June 30, 2012 8:48 PM To: Bill Bell Cc: dev@lucene.apache.org Subject: Re: Low pause GC for

Re: Low pause GC for java 1.6

2012-06-30 Thread Walter Underwood
Is that a 4 second or 0.4 second wait? You can benchmark the different collectors yourself. CMS is probably the best choice. If you have more heap than you need, then the collections will be longer than necessary. At some point, the collector has to look at all of the heap and that is slow. T

RE: Low pause GC for java 1.6

2012-06-30 Thread Dyer, James
-XX:+UseCompressedStrings -Original Message- From: Bill Bell [mailto:billnb...@gmail.com] Sent: Saturday, June 30, 2012 8:49 PM To: Bill Bell Cc: dev@lucene.apache.org Subject: Re: Low pause GC for java 1.6 Nothing? Bill Bell Sent from mobile On Jun 29, 2012, at 9:09 PM, Bill Bell wrote

Re: Low pause GC for java 1.6

2012-06-30 Thread Bill Bell
Nothing? Bill Bell Sent from mobile On Jun 29, 2012, at 9:09 PM, Bill Bell wrote: > We are getting large Solr pauses on Java garbage collection in 1.6 Java. > > We have tried CMS. But we still have. 4 second wait on GC. > > What works well for Solr when using 16 GB of RAM? > > I have read l