HornetQ streaming big StreamMessages causes 'OutOfMemoryError: Java heap space'
Issue
- The Java heap dump shows the largest retention under a thread that with the same names as the thread associated with the
OutOfMemoryErrorin the JBossserver.log. - Retention in
org.jboss.netty.buffer.BigEndianHeapChannelBufferbytearray. - Java heap dump created by the JVM with
-XX:+HeapDumpOnOutOfMemoryErroroption is significantly smaller than the max heap size (-Xmx). - Heap dump analysis shows the retention is a
bytearray.
Environment
- JBoss Service Oriented Architecture Platform (SOA-P)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.