You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Robert Petersen <ro...@buy.com> on 2010/06/30 18:50:56 UTC

GC tuning - heap size autoranging

Is this a true statement???  This seems to contradict other statements regarding setting the heap size I have seen here...

Default Heap Size
If not otherwise set on the command line, the initial and maximum heap sizes are calculated based on the amount of memory on the machine. The proportion of memory to use for the heap is controlled by the command line options DefaultInitialRAMFraction and DefaultMaxRAMFraction, as shown in the table below. (In the table, memory represents the amount of memory on the machine.)

Pasted from <http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html#available_collectors.selecting>