Memory configuration

xReporter runs in a Java Virtual Machine (JVM). The JVM has a limit to the amount of memory it can allocate. The default limit can be too low when working with large result sets in xReporter. Here is how you can change these limits.

xReporter server (Phoenix)

Before starting Phoenix, set the PHOENIX_JVM_OPTS environment variable as follows:

Windows:
set PHOENIX_JVM_OPTS=-Xmx512M

Unix:
export PHOENIX_JVM_OPTS=-Xmx512M

In this example we limit the memory to 512 MB, of course adjust this to your own needs.

xReporter-Cocoon (Tomcat)

Before starting Tomcat, set the JAVA_OPTS environment variable as follows:

Windows:
set JAVA_OPTS=-Xmx512M

Linux:
export JAVA_OPTS=-Xmx512M

This is specific for Tomcat, other servlet containers will likely need some other variable to be set.

Comments (0)