Hi Experts,
i am using the
tomcat 6.0.20.
when i am trying to stop the service by shutdown.sh, it is throwing error as -
sabad19151$ ./shutdown.sh
-d64 -server -Xms5000m -Xmx5000m -XX:PermSize=1024m -XX:MaxPermSize=1024m
:/export/home/tomcat/apache-tomcat-6.0.20/lib:/export/home/tomcat/apache-tomcat-6.0.20/:/export/home/tomcat/apr/lib:/export/home/tomcat/openssl/lib:
Using CATALINA_BASE: /export/home/tomcat/apache-tomcat-6.0.20
Using CATALINA_HOME: /export/home/tomcat/apache-tomcat-6.0.20
Using CATALINA_TMPDIR: /export/home/tomcat/apache-tomcat-6.0.20/temp
Using JRE_HOME: /usr/jdk1.6.0_16
Error occurred during initialization of VM
Could not reserve enough space for object heap
-d64 -server -Xms5000m -Xmx5000m -XX:PermSize=1024m -XX:MaxPermSize=1024m -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
then i have chnaged the parameter in catalina.sh as
-Xms7000m -Xmx7000m -XX:PermSize=2048m -XX:MaxPermSize=2048m
but again i am getting the same error.
-d64 -server -Xms7000m -Xmx7000m -XX:PermSize=2048m -XX:MaxPermSize=2048m
:/export/home/tomcat/apache-tomcat-6.0.20/lib:/export/home/tomcat/apache-tomcat-6.0.20/:/export/home/tomcat/apr/lib:/export/home/tomcat/openssl/lib:
Using CATALINA_BASE: /export/home/tomcat/apache-tomcat-6.0.20
Using CATALINA_HOME: /export/home/tomcat/apache-tomcat-6.0.20
Using CATALINA_TMPDIR: /export/home/tomcat/apache-tomcat-6.0.20/temp
Using JRE_HOME: /usr/jdk1.6.0_16
Error occurred during initialization of VM
Could not reserve enough space for object heap
-d64 -server -Xms7000m -Xmx7000m -XX:PermSize=2048m -XX:MaxPermSize=2048m -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
i also checked the JVM memory in tomcat manager -
Free memory: 5415.46 MB Total memory: 6712.00 MB Max memory: 6712.00 MB
kindly guide me how to fix this error.
server OS - SunOS sabad19151 5.10 Generic_148888-01 sun4v sparc sun4v
Thanks,
Tom