java.lang.OutOfMemoryError: unable to create new native thread

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via sourceforge.net by Unknown author, 2 years ago
unable to create new native thread
via Oracle Community by user10505683, 1 year ago
Resource temporarily unavailable in tsStartJavaThread (lifecycle.c:1097). Attempting to allocate 8000M bytes There is insufficient native memory for the Java Runtime Environment to continue. Possible reasons: The system is out of physical RAM or
via Google Groups by sebastien, 2 years ago
via Oracle Community by 573204, 1 year ago
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:597)
at org.apache.activemq.thread.DedicatedTaskRunner.(DedicatedTaskRunner.java:42)
at org.apache.activemq.thread.TaskRunnerFactory.createTaskRunner(TaskRunnerFactory.java:74)
at org.apache.activemq.ActiveMQSessionExecutor.wakeup(ActiveMQSessionExecutor.java:92)
at org.apache.activemq.ActiveMQMessageConsumer.start(ActiveMQMessageConsumer.java:993)
at org.apache.activemq.ActiveMQMessageConsumer.(ActiveMQMessageConsumer.java:222)
at org.apache.activemq.ActiveMQSession.createConsumer(ActiveMQSession.java:1004)
at org.apache.activemq.ActiveMQSession.createConsumer(ActiveMQSession.java:948)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.createConsumer(AbstractPollingMessageListenerContainer.java:437)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.createListenerConsumer(AbstractPollingMessageListenerContainer.java:216)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:297)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:254)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:871)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

10 times, 1 week ago
Once, 6 months ago
530 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
4 times, 11 months ago
59 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.