For info: Our application which uses publish/subscribe topics for communication using AMQ 5.1 running on Solaris x86 (5.10 Generic_127112-06) with Java 1.6 (java version "1.6.0_06",Java(TM) SE Runtime Environment (build 1.6.0_06-b02)) causes AMQ to leak threads. A new thread seems to be created every time a published message is sent to a subscriber and eventually AMQ crashes with an out-of-memroy error when these threads are not deleted. If no subscribers have registered for the topic then no threads are leaked. Upgrading AMQ to the latest 5.2 snapshot (5.2-20080723.231559-15) sees the problem solved, though I do not know when in 5.2 development trunk the bug was fixed nor how.
I have not been able to reproduce this problem using the provided example apps (producer/consumer) so presumed we were doing something wrong, though because our application has been using the JBoss JMS providers (both JBossMQ and JBoss Messaging) for some time without seeing this issue I figure it is AMQ specific and therefore not necessarily related to our app. Our app is a large multi-process distributed code so I cannot provide source but could spend some time trying to cut it down into a manageable demo code if people were interested. My question is: what bug was solved in AMQ 5.2 that fixed the thread leak and have other people encountered this problem with AMQ 5.1? Thanks, Peter -- View this message in context: http://www.nabble.com/ActiveMQ-5.1-has-thread-leak-tp18644634p18644634.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.