Versions Compared

Key

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

...

Code Block
languagebash
set JAVA_OPTS=-Xms128m -Xmx512m -Djava.awt.headless=true
-Dfrevvo.users.path="%CATALINA_HOME%\..\data\users"

Insight Server Memory Settings

The Insight Server, needed for the  Reports feature,  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, causing . IT may cause "out of memory" exceptions.

The JVM heap size can be changed by commenting uncommenting the SOLR_JAVA_MEM parameter in the OS specific solr.in.* file (cmd for windows, sh for linux) and changing its value.For example, to increase the max heap size to 1G use: -Xms512m –Xmx1g.

Code Block
# Increase Java Heap as needed to support your indexing / query needs
#SOLR_HEAP="512m"

# Expert: If you want finer control over memory options, specify them directly
# Comment out SOLR_HEAP if you are using this though, that takes precedence
#SOLRSOLR_JAVA_MEM="-Xms512m -Xmx512mXmx1g"

 

Troubleshooting

Solutions for memory errors are discussed below:

...