It appears this leak can be confirmed by looking in the JMX console - QueueSize grows, even though messages were consumed. I upgraded to 5.3.2 - and that behaviour seems to have stopped. Havent been able to tell if the memory leak is gone yet though...
-N -----Original Message----- From: Minutello, Nick Sent: 28 May 2010 19:44 To: users@activemq.apache.org Subject: Out of memory error with Topics/subscribers.... Our ActiveMQ broker is running out of memory quite consistently - and the cause seems to be related to Topics/Subscriptions. We are using a non-durable subscription. We happen to have only 1 consumer - and when we change the destination to be a queue, this OOME seems to stop. Which might lead me to believe the producers are not overrunning the consumer... This is using AMQ 5.3.0 & tcp connection. There is an (alarmingly old & unresolved) issue that appears to be related to this. https://issues.apache.org/activemq/browse/AMQ-1876 I will see if I can write a small example that reproduces the problem, but until then; any ideas/advice? Any further information/metrics I should collect? Is this a suspected/known issue? Cheers, Nick ======================================================================== ======= Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ======================================================================== ======= =============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ===============================================================================