On 3/11/2015 12:25 PM, Karl Kildén wrote: > I am a solr beginner. Anyone knows how solr 5.0 determines the max heap > size? I can't find it anywhere. > > Also, where whould you activate jmx? Would like to be able to use visualvm > in the future I imagine. > > I have a custom nssm thing going that installs it as a window service that > simply calls java -jar start.jar
The default heap size is 512m. This is hardcoded in the bin/solr script. You can override that with the -m parameter. If you are not using the bin/solr script and are instead doing the old "java -jar start.jar" startup, the default heap size is determined by the version of Java you are running. Thanks, Shawn