[jboss-user] [JBoss Remoting] - Out of Memory Error with ConcurrentReaderHashMap on Jboss 5.1.0

Anil Mathew do-not-reply at jboss.com
Wed Sep 14 20:20:42 EDT 2011

Anil Mathew [http://community.jboss.org/people/amathewjboss1] created the discussion

"Out of Memory Error with ConcurrentReaderHashMap on Jboss 5.1.0"

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


   We are running on JBoss 5.1 / JDK 1.6 on Linux servers. During very high load we are seeing Out of Memory Error and it seems like related to the JBoss remoting. 

   We took a heap dump and the Memory Analyzer shows the below instance is taking 25% of the memory:

One instance of *"org.jboss.mx.server.MBeanServerImpl"* loaded by *"org.jboss.classloader.spi.base.BaseClassLoader @ 0x415b2fc8"* occupies *65,055,032 (24.64%)* bytes. The memory is accumulated in one instance of *"EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap$Entry[]"* loaded by *"org.jboss.bootstrap.NoAnnotationURLClassLoader @ 0x42f8ba78"*.

  The details which is pointing ot the JBoss remoting classes:

Class Name                                                                                                                                                Shallow Heap Retained Heap 
1. EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap$Entry[2048]  Shallow Heap => 8,208    Retained Heap => 45,693,888 
   EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap   Shallow Heap => 56      Retained Heap => 45,761,640 
      EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap$Entry Shallow Heap => 24                Retained Heap => 45,761,688 
          EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap$Entry[64] Shallow Heap => 272                Retained Heap => 64,584,776 
             EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap Shallow Heap => 56                Retained Heap => 64,621,408 
                  org.jboss.mx.server.registry.BasicMBeanRegistry Shallow Heap =>  48      Retained Heap => 64,621,680 
                      org.jboss.mx.server.MBeanServerImpl Shallow Heap => 24       Retained Heap => 65,055,032 
                         java.lang.Thread @ 0x42135bb8 Signal Dispatcher Native Stack, Thread 

  Any thoughts on this please?

Anil Mathew

Reply to this message by going to Community

Start a new discussion in JBoss Remoting at Community

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

More information about the jboss-user mailing list