Title: Error occurred during initialization of VM
1Error occurred during initialization of VM
Using CATALINA_BASE /usr/local/jakarta/tomcat
Using CATALINA_HOME /usr/local/jakarta/tomcat Usi
ng CATALINA_TMPDIR /usr/local/jakarta/tomcat/temp
Using JRE_HOME Using CLASSPATH
/usr/local/jdk /usr/local/jakarta/tomcat/bin/boots
trap.jar
Error occurred during initialization of VM Could
not reserve enough space for object heap Could
not create the Java virtual machine. You will
receive error above the time you stop/start
tomcat on linux cPanel servers. This is because
the assigned heap size is insufficient. An
alternative is to increase the heap size
depending on the RAM allocated to your
server. There are 2 ways you can increase the
heap size. Login to your server via SSH use
one of the command below. export
CATALINA_OPTS-Xms1024m -Xmx1024m OR
MilesWeb.in
2export_JAVA_OPTIONS-Xms20m-Xmx64m-XXMinHeapFree
Ratio20-XXMaxHe apFreeRatio40-XXNewSize10m-X
XMaxNewSize10m-XXSurvivorRatio6-XX
TargetSurvivorRatio80-XXCMSClassUnloadingEnable
d-XXCMSPermGenSwe epingEnabled Once done you
will need to restart tomcat. root_at_server
/usr/local/jakarta/tomcat/bin/shutdown.sh
root_at_server /usr/local/jakarta/tomcat/bin/sta
rtup.sh root_at_server /usr/local/jakarta/tomca
t/bin/catalina.sh run For VPS hosting service,
unmanaged VPS hosting and also all other type of
hosting solutions, you can consider MilesWeb.
MilesWeb.in