Tomcat启动报错 Could not reserve enough space for object heap
生活随笔
收集整理的这篇文章主要介绍了
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
转载于:https://www.cnblogs.com/miaoyf/p/4135132.html
总结
以上是生活随笔为你收集整理的Tomcat启动报错 Could not reserve enough space for object heap的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 周记 2014.11.29
- 下一篇: 动态链接库DLL与静态链接库LIB