in tomcat/bin/catalina.sh add a parameter into this file export JAVA_OPTS=-Xmx512m
----- Original Message ----- From: "dOE" <doep...@gmail.com> To: "Tomcat User-List" <users@tomcat.apache.org> Sent: Wednesday, March 04, 2009 10:11 AM Subject: How to set Java Memory heap size on Linux? > Tomct 6.0 > Red Hat EL 4 > > How can I set the Java Memory heap for Tomcat? > > I know in Windows this is done through the Registry adding -Xms256m > -Xmx768m. > From what I have read on the internet to do the same on a Linux system I > need to add the following line to my ../tomcat/bin/catalina.sh fle? > > JAVA_OPTS=-Xms256m -Xmx768m > > If this is in fact the case? ...then does it matter where in the file the > line is inserted? >