On 12/13/2010 3:38 PM, Jonathan Rochkind wrote:
But if the problem really is just GC issues and not actually too much
RAM being used, try this JVM setting:
-XX:+UseConcMarkSweepGC
That's I use on my shards, I've never had any visible problems with
memory or garbage collection delays. I have not done any kind of
profiling, though.
The servers (CentOS Xen VMs) have 9GB of total RAM and serve indexes
that are nearing 15GB in size and have over 8 million documents.
Important parts of my java commandline:
-Xms512M -Xmx2048M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
Shawn