Versions Compared

Key

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

...

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. IT may cause "out of memory" exceptions .The in the  <frevvo-home>solr-5.4.1\server\log. The JVM heap size can be changed by uncommenting increased to resolve this, Follow these steps:

  1. Uncomment the SOLR_JAVA_MEM parameter in the OS specific solr.in.* file (cmd for windows, sh for linux)

...

  1. .
  2. Change the value.

    For example, to increase the max heap size to 1G use: -Xms512m –Xmx1g. Make sure SOLR_HEAP is commented out.
     
  3. Restart the Insight Server.
     
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 -Xmx1g"

 

Troubleshooting

Solutions for memory errors are discussed below

Out of Memory Errors in frevvo.log

If you see "Out of Memory" errors in the <frevvo-home>\tomcat\logs\frevvo.log, implement the solutions listed here:

OutOfMemoryError: Java heap space

SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.OutOfMemoryError: Java heap space

...

For example: -Xms512m to -Xmx1g. Make sure also that the machine where  is installed has enough memory installed. If you change -Xmx to 1g your machine will need more then 1g ram.

OutOfMemoryError: PermGen space

MemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space

...

For example: -XX:MaxPermSize=128M

Out of Memory Errors in the Insight Server log:

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.

This is independent of  which has its own log and its own heap size.