在用tomcat5.5运行程序的过程中,出现如下问题:
Unhandled exception
Type=Segmentation error vmState=0x0005ff05
J9Generic_Signal_Number=00000004 ExceptionCode=c0000005 ExceptionAddress=009E0698 ContextFlags=0001003f
Handler1=008B05B0 Handler2=008F74F0 InaccessibleAddress=00000028
EDI=43F87D50 ESI=442012C0 EAX=00000001 EBX=00000000
ECX=44F0C45C EDX=00000000
EIP=009E0698 ESP=421DFAEC EBP=44F0C49C
Module=D:/IBM/SDP70/jdk/jre/bin/j9jit23.dll
Module_base_address=00990000 Offset_in_DLL=00050698
Method_being_compiled=org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.isCompatibleWith(Lorg/eclipse/jdt/internal/compiler/lookup/TypeBinding;)Z
Target=2_30_20060915_08260_lHdSMR (Windows XP 5.1 build 2600 Service Pack 2)
CPU=x86 (2 logical CPUs) (0x7fde9000 RAM)
JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait.
JVMDUMP007I JVM Requesting System Dump using 'D:/IBM/SDP70/core.20070814.103226.3596.dmp'
JVMDUMP010I System Dump written to D:/IBM/SDP70/core.20070814.103226.3596.dmp
JVMDUMP007I JVM Requesting Snap Dump using 'D:/IBM/SDP70/Snap0001.20070814.103226.3596.trc'
JVMDUMP010I Snap Dump written to D:/IBM/SDP70/Snap0001.20070814.103226.3596.trc
JVMDUMP007I JVM Requesting Java Dump using 'D:/IBM/SDP70/javacore.20070814.103226.3596.txt'
JVMDUMP010I Java Dump written to D:/IBM/SDP70/javacore.20070814.103226.3596.txt
JVMDUMP013I Processed Dump Event "gpf", detail "".
打开tomcatHome/bin/tomcat5w.exe,点击Java选项卡,然后将会发现其中有这么两项:
Unhandled exception
Type=Segmentation error vmState=0x0005ff05
J9Generic_Signal_Number=00000004 ExceptionCode=c0000005 ExceptionAddress=009E0698 ContextFlags=0001003f
Handler1=008B05B0 Handler2=008F74F0 InaccessibleAddress=00000028
EDI=43F87D50 ESI=442012C0 EAX=00000001 EBX=00000000
ECX=44F0C45C EDX=00000000
EIP=009E0698 ESP=421DFAEC EBP=44F0C49C
Module=D:/IBM/SDP70/jdk/jre/bin/j9jit23.dll
Module_base_address=00990000 Offset_in_DLL=00050698
Method_being_compiled=org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.isCompatibleWith(Lorg/eclipse/jdt/internal/compiler/lookup/TypeBinding;)Z
Target=2_30_20060915_08260_lHdSMR (Windows XP 5.1 build 2600 Service Pack 2)
CPU=x86 (2 logical CPUs) (0x7fde9000 RAM)
JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait.
JVMDUMP007I JVM Requesting System Dump using 'D:/IBM/SDP70/core.20070814.103226.3596.dmp'
JVMDUMP010I System Dump written to D:/IBM/SDP70/core.20070814.103226.3596.dmp
JVMDUMP007I JVM Requesting Snap Dump using 'D:/IBM/SDP70/Snap0001.20070814.103226.3596.trc'
JVMDUMP010I Snap Dump written to D:/IBM/SDP70/Snap0001.20070814.103226.3596.trc
JVMDUMP007I JVM Requesting Java Dump using 'D:/IBM/SDP70/javacore.20070814.103226.3596.txt'
JVMDUMP010I Java Dump written to D:/IBM/SDP70/javacore.20070814.103226.3596.txt
JVMDUMP013I Processed Dump Event "gpf", detail "".
打开tomcatHome/bin/tomcat5w.exe,点击Java选项卡,然后将会发现其中有这么两项:
Initial memory pool和Maximum memory pool.
Initial memory pool这个就是初始化设置的内存的大小。
Maximum memory pool这个是最大内存的大小
将其中的Initial memory pool设置为64MB.!!!Success!!!
设置完了就按确定然后再重启TOMCAT你就会发现tomcat中jvm可用的内存改变了