云表本地服务启动报错之——没有足够空间
2013-12-2 09:15:53
6665
3
最近启动云表本地 服务时,老是提示:(如图1所示) Error occurred during initialization of VM Could not reserve enough space for object heap Error:Could not create the Java Virtual Machine. Error:A fatal exception has occurred. Program will exit. 然后就关闭Tomcat。看报错信息应该是没有足够内存创建虚拟机, 检查了一下,发现是apache-tomcat-7.0.22/bin下catalina.bat文件中,将JAVA_OPTS参数设置太大了, 于是将参数改小一些即可正常启动了,"set JAVA_OPTS= -Xms256m -Xmx512m" |
-
1.错提示
+1
0
3条回帖