Every post message you make you make increases the thread count and memory footprint of java.exe
I have tried version 5.3.1 and versions 5.4.0 from researching this on the net it looks like the error is tied to MessageServlet or how its being used. I dont know enough Java which is frustrating me at the moment. This is the exception that is thrown after 500 to 600 messages queued. Exception in thread "ActiveMQ Task" java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Unknown Source) at org.apache.activemq.thread.DedicatedTaskRunner.<init>(DedicatedTaskRunner.java:42) at org.apache.activemq.thread.TaskRunnerFactory.createTaskRunner(TaskRunnerFactory.java:80) at org.apache.activemq.transport.vm.VMTransport.wakeup(VMTransport.java:324) at org.apache.activemq.transport.vm.VMTransport.setTransportListener(VMTransport.java:224) at org.apache.activemq.transport.TransportFilter.setTransportListener(TransportFilter.java:42) at org.apache.activemq.transport.TransportFilter.setTransportListener(TransportFilter.java:42) at org.apache.activemq.broker.TransportConnection.<init>(TransportConnection.java:170) at org.apache.activemq.broker.TransportConnector.createConnection(TransportConnector.java:291) at org.apache.activemq.broker.TransportConnector$1$1.run(TransportConnector.java:212) at java.lang.Thread.run(Unknown Source) The Post to the queue has the exact same ClientID. So I am not sure whats going on. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-REST-producer-Causes-Out-Of-MemoryError-tp2543168p2543168.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.