...
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 out of memory exceptions.
The JVM heap size can be changed by commenting 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
#SOLR_JAVA_MEM="-Xms512m -Xmx512m" |
Troubleshooting
Solutions for memory errors are discussed below:
...