Increase Pentaho Server memory limit for installations on Linux
If you used the Pentaho Installation Wizard to install PDI on your Linux machine, you can increase memory limits by editing a variable in one of the Pentaho-supplied scripts. If you did not use the installation wizard, see Increase Pentaho Server memory limit for custom installations on Windows or Linux.
Go to
/pentaho/server/pentaho-server/tomcat/bin/
directory and run the./shutdown.sh
command to stop the appropriate server.Change the directory to
pentaho-server/tomcat/scripts
.Edit the
ctl.sh
file.Locate the line under
start tomcat
, which looks like this:export JAVA OPTS="-Dpentaho.installed.licenses.file=/opt/pentaho/.installedLicenses.xml -Xms128m Xmx768m -XX-MaxPermSize=256m -Dsun.rmi.dyc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
Set the memory to a minimum of
4096 M
and a maximum of6144 M
, depending on your computer's memory capabilities.Start the Tomcat server or service.
Your Tomcat server now has increased minimum and maximum memory limits. You can adjust the JvmMx parameter to specify a higher maximum limit if you prefer. However, if the Java virtual machine refuses to start with increased limits, then you must add more RAM to your system, stop some memory-intensive services, or reduce the maximum memory limit. This problem occurs when there is not enough contiguous memory available to assign to the JVM.
Make sure to also increase the Spoon memory limit.
Last updated
Was this helpful?