今天在启动tomcat的时候报
Error occurred during initialization of VM Could not reserve enough space for object heap的错误,查阅了一些资料得出是因为在tomcat的bin目录下,catalina.sh文件的tomcat内存参数配置过大,超过机器的可用内存总数造成的,只需要修改到合适的值即可。
![](https://img-blog.csdn.net/20170606194044575?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3U5MjA2MDQ=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center)
tomcat启动报 Error occurred during initialization of VM Could not reserve enough space for object heap
最新推荐文章于 2024-06-06 22:15:48 发布