Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 5.6.0
-
Fix Version/s: 5.7.0
-
Component/s: activemq-pool
-
Labels:
-
Patch Info:Patch Available
Description
The org.apache.activemq.pool.PooledConnectionFactory from activemq-pool has a severe memory leak when using it for sending a lot of messages. Over time this causes memory to be eaten up.
I have tracked it down to the following tickets:
AMQ-3680, which keeps adding event listeners, despite previously addedAMQ-2643, code which keep track of loaned sessions, causing JVM to create too many ConcurrentLinkedQueue$Node instances
There may be others. But with resolutions to those I can get the pool to not eat memory, and keep memory consumption low.