Configuring Solr memory

Perform the following steps to increase the memory for Solr.

Non-Windows platforms

  1. Stop Solr using the following command:

    sudo ./cfsolr stop

  2. In the cfsolr script, modify the line that starts with VMARGS= by changing the default value -Xmx256m with an appropriate value. For example, -Xmx1024m.

  3. Start Solr using the following command:

    sudo ./cfsolr start

Windows platform

  1. Stop the Solr service ColdFusion 9 Solr Service.

  2. In the solr.lax, modify the line that starts with lax.nl.java.option.additional= by changing the default value -Xmx256m with an appropriate value. For example, -Xmx1024m.

  3. Start Solr service.