Pentaho Aggregation 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 Aggregation Designer by changing the Java options that set memory allocation. Follow the directions below to accomplish this.
- Exit Aggregation Designer if it is currently running.
- Edit the startaggregationdesigner script and modify your Java command to include an -Xmx line that specifies a large upper memory limit.
Linux/Solaris shell script:
"$_PENTAHO_JAVA" $LICENSEPARAMETER -Xmx2g -jar "$DIR/lib/launcher-1.0.0.jar"
Windows batch file:
"%_PENTAHO_JAVA%" %LICENSEPARAMETER% -Xmx2g -jar "%~dp0lib\launcher-1.0.0.jar"
- Start Aggregation Designer and ensure that there are no memory-related exceptions.