Sorry for the newbie question. When running solr under tomcat I notice that the amount of memory tomcat uses increases over time until it reaches the maximum limit set (with the Xms and Xmx switches) for the jvm.
Is it better to allocate give all available physical memory to the jvm, or to allocate enough so that solr doesn't run out of memory and let the OS use the rest for disk buffers? That is, will lucene take good advantage if given extra memory, or does the extra memory end up being used for data structures that are no longer in use but haven't been garbage-collected by the jvm yet? Thank you, --dallan