activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danilo Tuler <>
Subject Re: java.lang.OutOfMemoryError: unable to create new native thread on AMQ 5.0
Date Tue, 13 May 2008 13:03:58 GMT


I have this problem too. It happens with AMQ 5.0.0 and 5.1.0. Works fine
with 4.1.1 and 4.1.2.
I can see the number of threads using the windows task manager, and it's not
good :-) +2000 threads.

My client application is a producer, and it sends thousands of messages to
thousands of differents topics. There are no subscribers to those topics.
Async send is set to false. Even when the client application is shutdown the
threads are kept alive.

There is surely a thread leak, and maybe there is a direct relationship with
the number of topics created.

I've read several topics here, JIRA issues, and an article about AMQ thread
handling, but did not come out with a clue.

Best regards,

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

View raw message