Pentaho Report Designer's startup script uses the default memory settings for your Java environment, which may be insufficient for your work. If you're experiencing an OutOfMemory exception, you must increase the amount of heap space available to Report Designer by changing the Java options that set memory allocation. Follow the directions below to accomplish this.
- Exit Report Designer if it is currently running.
- Edit the report-designer script and modify the value of -Xmx to allocate more memory to Report Designer's JVM instance.
Linux/Solaris shell script:
"$_PENTAHO_JAVA" "-Dpentaho.installed.licenses.file=$PENTAHO_INSTALLED_LICENSE_PATH" -XX:MaxPermSize=256m -Xmx2g -jar "$DIR/launcher.jar" $@
Windows batch file:
set OPT="-XX:MaxPermSize=256m" "-Xmx2g"
- Start Report Designer and ensure that there are no memory-related exceptions.