sudo vi /usr/share/tomcat6/bin/catalina.sh |
sudo vi /usr/share/tomcat6/bin/catalina.sh
At the beginning of the file, after initial comment block add:
# setting JAVA_OPTS to perform
JAVA_OPTS="-Xms512m -Xmx1024m -XX:MaxPermSize=384m -Xss128k" |
# setting JAVA_OPTS to perform
JAVA_OPTS="-Xms512m -Xmx1024m -XX:MaxPermSize=384m -Xss128k"
Restart tomcat:
sudo service tomcat6 restart |
sudo service tomcat6 restart
This entry was posted on Thursday, August 26th, 2010 at 02:02 and is filed under hosting, java, tomcat.
You can follow any comments to this entry through the RSS 2.0 feed.
You can leave a comment, or trackback from your own site.