Windows下的修改Tomcat的可用内存

在用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选项卡,然后将会发现其中有这么两项:
Initial memory pool和Maximum memory pool.
Initial memory pool这个就是初始化设置的内存的大小。
Maximum memory pool这个是最大内存的大小
 将其中的Initial memory pool设置为64MB.!!!Success!!!
设置完了就按确定然后再重启TOMCAT你就会发现tomcat中jvm可用的内存改变了
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值