标签:io sp java for on size res 方法 ca
报错信息:
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启动报错 Could not reserve enough space for object heap
标签:io sp java for on size res 方法 ca
原文地址:http://www.cnblogs.com/miaoyf/p/4135132.html