You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2013/09/20 21:33:50 UTC
[Solr Wiki] Update of "ShawnHeisey" by ShawnHeisey
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "ShawnHeisey" page has been changed by ShawnHeisey:
https://wiki.apache.org/solr/ShawnHeisey?action=diff&rev1=8&rev2=9
Comment:
added info about UseLargePages
== GC Tuning ==
- Java GC tuning options that work well for me with Solr 4.2.1 on 64-bit CentOS 6 with Oracle Java 7:
+ Java GC tuning options that work well for me with Solr 4.2.1 on 64-bit CentOS 6 with Oracle Java 7, using a 6GB heap:
{{{
JVM_OPTS=" \
@@ -43, +43 @@
-XX:+UseLargePages
-XX:+AggressiveOpts
}}}
+
+ A note about the UseLargePages option: This option will not actually do anything unless you allocate memory to Huge Pages in your operating system. If you do so, memory usage reporting with the "top" command will probably only show a few hundred MB of resident memory used by your Solr process, even if it is in fact using several gigabytes of heap.
I got a recommendation on IRC for a simpler alternative. One day when I find the time, I will do some more extensive testing.