On 8/12/2014 3:12 PM, tuxedomoon wrote:
I have modified my instances to m2.4xlarge 64-bit with 68.4G memory. Hate to ask this but can you recommend Java memory and GC settings for 90G data and the above memory? Currently I haveCATALINA_OPTS="${CATALINA_OPTS} -XX:NewSize=1536m -XX:MaxNewSize=1536m -Xms5120m -Xmx5120m -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:+UseConcMarkSweepGC" Doesn't this mean I am starting with 5G and never going over 5G?
Yes, that's exactly what it means -- you have a heap size limit of 5GB. The OutOfMemory error indicates that Solr needs more heap space than it is getting. You'll need to raise the -Xmx value. it is usually advisable to configure -Xms to match.
The wiki page I linked before includes a link to the following page, listing the GC options that I use beyond the -Xmx setting:
http://wiki.apache.org/solr/ShawnHeisey#GC_Tuning Thanks, Shawn
