Tuesday, August 23, 2011

How to Increase Memory in Tomcat - Railo Setup

This might be common knowledge to most, but I have to look it up every time.

If you need to increase the memory in Apache Tomcat.

Look here:  /opt/railo/tomcat/bin/setenv.sh

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

Remember to restart Railo / Tomcat   afterwards:

/etc/rc.d/init.d/railo_ctl restart

No comments:

Post a Comment