activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim_Cross <>
Subject Server side memory leak on connection with NMS
Date Tue, 19 Jun 2007 14:26:03 GMT


Further to my earlier message, I realised I'd left out two vital bits of
1. I'm using NMS
2. Part of my test app is to have a consumer disconnect fully (close and
dispose consumer, session, and connection) then reconnect

A bit more investigation has revealed that if I don't start the consumer
side, but do hit the server with loads of messages, memory use stays stable,
under 15mb.
However, if I just start the consumer side, memory use increases over time.

I'm fairly sure the connections are being closed properly, as the consumer
count seen in JConsole always shows the correct number.

Does anyone know why this happens?
I've seen some messages mentioning mixing ActiveMQ versions can cause memory
leaks. Could this be the cause? I'm using NMS with ActiveMQ 4.1.1.

Any help much appreciated.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message