Increasing Lucee / Tomcat Memory (VPS/Dedicated Only) Print

  • 49

For some you may need to increase the memory in Apache Tomcat for Lucee to use.

Edit the file using the code below to bring up the editor:
nano /opt/lucee/tomcat/bin/setenv.sh

JAVA_OPTS="-Xms256m -Xmx512m -XX:MaxPermSize=128m "; # memory settings.

Restart Lucee with the code below:

/etc/rc.d/init.d/lucee_ctl restart

if you are using Railo or upgraded from Railo you may need to replace the word 'lucee' in the folder paths to 'railo'.


Was this answer helpful?

« Back