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" |
Restart tomcat:
sudo service tomcat6 restart |
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