JBoss - Java heap retention in org.jboss.messaging.core.impl.MessagingQueue or other messaging destinations
Issue
- "java.lang.OutOfMemoryError: Java heap space" errors are received because the heap is consumed by org.jboss.messaging.core.impl.MessagingQueue or by messages sitting in our queues or topics or the deliveries map of a ServerSessionEndpoint with JBoss Messaging. How could we address this?
- There are many instances of SimpleMessageReference accumulating in MessagingQueue's messageRefs LinkedList.
Environment
- JBoss Enterprise Application Platform (EAP)
- JBoss Messaging (JMS)
- HornetQ
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.