Thanks Joe. I found if I set the -Dorg.apache.activemq.UseDedicatedTaskRunner=false, AMQ does not create individual thread for each topic. To some extends it solves the problem but the consequence is that the message reaches the consumer with huge delay....
Probably I have not used AMQ in the best way or AMQ does not fit into my needs. Sad... :( Neowill -- View this message in context: http://www.nabble.com/how-many-topics-can-I-create-in-a-broker-before-getting-OutOfMemoryError%3A-Java-heap-space-tp17905477p18064426.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.