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 -Xmx512m 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 11 Add-on Service.

  2. In the C:\ColdFusion11\cfusion\jetty\jetty.lax, modify the line that starts with lax.nl.java.option.additional= by changing the default value -Xmx512m with an appropriate value. For example, -Xmx1024m.

  3. Start Solr service.

Nhận trợ giúp nhanh chóng và dễ dàng hơn

Bạn là người dùng mới?