Hi, We sometimes face :
Exception in thread "ActiveMQ Transport: tcp://mqbroker/*.*.*.*:61616@35637" java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:714) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1368) at org.apache.activemq.thread.TaskRunnerFactory.execute(TaskRunnerFactory.java:152) at org.apache.activemq.thread.TaskRunnerFactory.execute(TaskRunnerFactory.java:145) at org.apache.activemq.transport.tcp.TcpTransport.doStop(TcpTransport.java:538) at org.apache.activemq.util.ServiceSupport.stop(ServiceSupport.java:71) at org.apache.activemq.transport.tcp.TcpTransport.stop(TcpTransport.java:582) at org.apache.activemq.transport.AbstractInactivityMonitor.stop(AbstractInactivityMonitor.java:145) at org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:65) at org.apache.activemq.transport.WireFormatNegotiator.stop(WireFormatNegotiator.java:91) at org.apache.activemq.util.ServiceSupport.dispose(ServiceSupport.java:43) at org.apache.activemq.transport.failover.FailoverTransport.disposeTransport(FailoverTransport.java:240) at org.apache.activemq.transport.failover.FailoverTransport.handleTransportFailure(FailoverTransport.java:253) at org.apache.activemq.transport.failover.FailoverTransport$3.onException(FailoverTransport.java:215) at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:101) at org.apache.activemq.transport.WireFormatNegotiator.onException(WireFormatNegotiator.java:160) at org.apache.activemq.transport.AbstractInactivityMonitor.onException(AbstractInactivityMonitor.java:314) at org.apache.activemq.transport.TransportSupport.onException(TransportSupport.java:96) at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:205) at java.lang.Thread.run(Thread.java:745) I have checked http://activemq.apache.org/javalangoutofmemory.html but non of the mentioned condition is getting triggered. Any idea what can cause this on consumer side ? Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/java-lang-OutOfMemoryError-in-consumer-application-tp4691751.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.