View Full Version : [ubuntu] Allocate more memory to Tomcat 6 in 8.10?
madde001
February 13th, 2009, 09:26 PM
I just installed Ubuntu 8.10 and the Tomcat 6 setup is unfamiliar to me, with Tomcat server now starting as a system process.
If I need to allocate more Java heap to my Tomcat, where do I change that setting?
o_sam_o
May 27th, 2009, 12:17 AM
just edit the /ect/init.d/tomcat6 file, change the JAVA_OPTS
e.g. change it to:
JAVA_OPTS="-Djava.awt.headless=true -Xmx512M -XX:MaxPermSize=256m"
JeppeM
May 27th, 2009, 05:42 AM
Note that if you're using the 32 bit version of ubuntu, you can't assign more than a few GB to tomcat... We had to strap our installation and install the 64bit since our tomcat needs 10 GB :)
It's actually not the OS bit version, but the java bit version from what i remember, so make sure you have 64 bit java as well if you want more memory... :)
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.