Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Insight Server Memory Settings

The Insight Server, needed for the  Reports feature,  By default, the <frevvo-home>\solr-5.4.1\bin\solr script,sets the maximum Java heap size to 512M (-Xmx512m) in the <frevvo-home>\solr-5.4.1\bin/solr script  by default.. This may not be sufficient especially when reporting on/indexing a large number of submissions. IT It may cause "out of memory" exceptions in the  <frevvo-home>solr-5.4.1\server\logs\solr.log file. The JVM heap size can be increased to resolve this, .

Follow these steps:

  1. Stop the Insight Server.
  2. Uncomment the SOLR_JAVA_MEM parameter in the OS specific solr.in.* file (cmd for windows, sh for linux).
  3. Change the value.

    For example, to increase the max heap size to 1G use: -Xms512m –Xmx1g. Make sure SOLR_HEAP is commented out.
     
  4. Restart the Insight Server.
     

...

The insight server has its own log file under <frevvo-home>solr-5.4.1\server\logs. If you see an Out of Memory exception in this log, review the Insight Server Memory Settings to change the Insight Server heap size.

...