[jboss-user] [Performance Tuning] - jboss 4.0.5 - OutOfMemory in 2 hours

Anita Albert do-not-reply at jboss.com
Fri Jan 7 11:44:52 EST 2011

Anita Albert [http://community.jboss.org/people/anitaalbert] created the discussion

"jboss 4.0.5 - OutOfMemory in 2 hours"

To view the discussion, visit: http://community.jboss.org/message/579550#579550

  I am a newbie to performance tuning. So sorry if these questions/descriptions sound dumb. We have an application running on jboss 4.0.5. Our application seems to crash with an Out of memory error within 2 hours. We recently did some major code revamping and a simultaneous upgrade from jdk1.5.0_11 to jdk1.6.0_23 and now we're not sure why it's crashing These are the jvm parameters - 

-Dsun.lang.ClassLoader.allowArraySyntax=true -Doracle.jdbc.V8Compatible=true -Xrs -Dprogram.name=run.bat -Xms1280m -Xmx1280m -Xrs -XX:MaxPermSize=192m -XX:+DisableExplicitGC -verbose:gc -XX:+PrintGCDetails -XX:+PrintHeapAtGC -XX:+PrintGCTimeStamps -XX:+PrintGCApplicationConcurrentTime -Xloggc:D:\jboss\bin\\..\server\default\log\gc.log -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dcom.sun.management.jmxremote -Djava.endorsed.dirs=D:\jboss\bin\\..\lib\endorsed . Here's the extract of the log when it crashed - 
# A fatal error has been detected by the Java Runtime Environment:
# java.lang.OutOfMemoryError: requested 894664 bytes for Chunk::new. Out of swap space?
#  Internal Error (allocation.cpp:272), pid=2000, tid=7980
#  Error: Chunk::new
# JRE version: 6.0_23-b05
# Java VM: Java HotSpot(TM) Server VM (19.0-b09 mixed mode windows-x86 )
# If you would like to submit a bug report, please visit:
#    http://java.sun.com/webapps/bugreport/crash.jsp http://java.sun.com/webapps/bugreport/crash.jsp
---------------  T H R E A D  ---------------
Current thread (0x5fd17000):  JavaThread "CompilerThread0" daemon [_thread_in_native, id=7980, stack(0x5ff30000,0x5ff80000)]
Stack: [0x5ff30000,0x5ff80000],  sp=0x5ff7e5e4,  free space=313k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0x33e8f7]
V  [jvm.dll+0x1065fc]
V  [jvm.dll+0x3e0fc]
V  [jvm.dll+0x3e393]
V  [jvm.dll+0x2c9293]
V  [jvm.dll+0x13cfe8]
V  [jvm.dll+0x245f55]
V  [jvm.dll+0xe20ab]
V  [jvm.dll+0xe4628]
V  [jvm.dll+0xe4f12]
V  [jvm.dll+0xa6c7a]
V  [jvm.dll+0xe7009]
V  [jvm.dll+0xe7bbf]
V  [jvm.dll+0x31e924]
V  [jvm.dll+0x2924ac]
C  [msvcr71.dll+0x9565]
C  [kernel32.dll+0x2482f]

Current CompileTask:
C2:4077  !   org.jboss.mq.il.uil2.SocketManager$ReadTask.run()V (547 bytes)

I'm attaching the entire log and also the garbage collection log. I am not able to interpret what is going wrong by looking at these logs. Could anyone please guide me as to how to interpret these logs or point me to what is going wrong? I would really appreciate it. Please let me know if any more description is needed. We are planning to deploy it for user testing in two days and a crash every two hours would be unacceptable.

Reply to this message by going to Community

Start a new discussion in Performance Tuning at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110107/b414a602/attachment-0001.html 

More information about the jboss-user mailing list