I came across this issue notice : https://issues.apache.org/activemq/browse/AMQ-1044 https://issues.apache.org/activemq/browse/AMQ-1044
"If async error such as a inactivity IO exception is detected while a subscription is being created, then that subscription is not fully cleaned up when the connection is disposed. If the client is using failover and reconnects, then it gets a "Failed to register MBean error." Since the subscription is still registered in JMX. This is also a source of a memory leak since subscriptions are are left registered in JMX." - ActiveMQ Issue List -- View this message in context: http://www.nabble.com/OutOfMemoryError-using-4.1.1-tf3632613s2354.html#a13583188 Sent from the ActiveMQ - User mailing list archive at Nabble.com.