Tomcat启动报错 Could not reserve enough space for object heap

报错信息:

Error occurred during initialization of VM

Could not reserve enough space for object heap

Could not create the Java virtual machine.

解决方法:

在catalina.bat中增加如下设置

set JAVA_OPTS=-server -XX:MaxHeapSize=256m -Xms512m -Xmx512m

你可能感兴趣的:(tomcat)