/var/tomcat/bin# ./shutdown.sh
Using CATALINA_BASE: /var/tomcat
Using CATALINA_HOME: /var/tomcat
Using CATALINA_TMPDIR: /var/tomcat/temp
Using JRE_HOME: /usr/java/jdk1.6.0_21/jre
Using CLASSPATH: /var/tomcat/bin/bootstrap.jar
Error occurred during initialization of VM
Could not reserve enough space for code cache
http://stackoverflow.com/questions/286007/how-to-tune-tomcat-5-5-jvm-memory-settings-without-using-the-configuration-progra
$CATALINA_HOME/bin/export JAVA_OPTS="-XX:MaxPermSize=64m -Xms16M -Xmx64m"
No comments:
Post a Comment