aix 下跑java程序...
时间:2010-08-14 来源:myselfwithsoft
最近用java写了个小程序,在Aix下调用时出现,java.lang.OutOfMemoryError(内存溢出错误):
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
JVMDG318: Heap dump file written to /home/data/opmadm1/src/crm/java/pcrm/heapdump680136.1281400858.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /home/data/opmadm1/src/crm/java/pcrm/javacore680136.1281400858.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
Exception in thread "main" java.lang.OutOfMemoryError
at java.lang.String.<init>(String.java(Compiled Code))
at com.rx.system.bean.CleanHcHandler.doFile(CleanHcHandler.java(Compiled Code))
at com.rx.system.bean.CleanHcHandler.main(CleanHcHandler.java:16)
查了写网络资料,优化了java代码,问题依然存在。。郁闷
写上来,想看看大家有没什么好方法处理一下!