Tomcat配置最大Memery Pool为2G 就无法启动
JAVA_OPTS='-Xms512m -Xmx2048m' 之后tomcat 启动就会报
[2011-10-03 11:33:51] [409 javajni.c] [error] CreateJavaVM Failed
[2011-10-03 11:33:51] [930 prunsrv.c] [error] Failed initializing java C:\Tomcat\bin\bootstrap.jar
[2011-10-03 11:33:51] [1179 prunsrv.c] [error] ServiceStart returned 2
改成1536m 就能正常启动 求问是什么原因
Tomcat 版本是5.5
------解决方案--------------------
你的内存是不是不足了
------解决方案--------------------
[2011-10-03 11:33:51] [1179 prunsrv.c] [error] ServiceStart returned 2
prunsrv.c那个文件的源码,看看returned 2到底是配置出问题,还是机器的问题...