JVM大内存问题,堆大小设置求助。Help!

04-10-14 pandsen
我用JDK 1.4.1 + Tomcat 5.0.27,有2G物理内存

tomcat的java选项最大内存只能设1024M,当用1280M时,出现以下错误:

[2004-10-14 12:15:44] [info] Error occurred during initialization of VM

[2004-10-14 12:15:44] [info] JNI Could not reserve enough space for object heap

怎么样才能让JVM用上超过1G的内存?

猜你喜欢