There are about a zillion garbage collection options, see: http://www.lucidimagination.com/blog/2011/03/27/garbage-collection-bootcamp-1-0/ for a great intro. Be a bit careful. Allocating more memory to the JVM can cause the GCs to take a longer time when they do occur. How much memory are you allocating?
Best Erick On Wed, Jul 11, 2012 at 1:55 AM, Jason <hialo...@gmail.com> wrote: > Actually we got this error when remote server is executing garbage collecting > and that time is over about 1 minute. > Solr server sometimes is frozen during gc and occurred connection refused > error. > Our gc option is -XX:+UseParallelGC -XX:+UseParallelOldGC > -XX:+AggressiveOpts > Response waiting is better than connection refuse for us. > is there any solution? > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/shard-connection-timeout-tp3994301p3994320.html > Sent from the Solr - User mailing list archive at Nabble.com.