EAP instance with deployed MDBs is leaking memory
Issue
After running for sometime, EAP instance with MDBs deployed starts leaking memory. I get the following warnings in the server log:
2014-01-28 07:54:31,178 WARN [org.hornetq.core.client] (hornetq-failure-check-thread) HQ212037: Connection failure has been detected: HQ119014: Did not receive data from invm:0. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. You also might have configured connection-ttl and client-failure-check-period incorrectly. Please check user manual for more information. The connection will now be closed. [code=CONNECTION_TIMEDOUT]
2014-01-28 07:54:31,178 INFO [org.hornetq.core.server] (hornetq-failure-check-thread) HQ221021: failed to remove connection. This causes the MDB to re-activate, and connections are leaking. This explains the huge memory consumption of ConcurentHashMap, which is the map used to keep the connections.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
