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 javamonamour.org by Unknown author, 1 year ago
unable to create new native thread
via Stack Overflow by code-gijoe
, 2 years ago
unable to create new native thread
via Oracle Community by user765470, 1 year ago
Cannot allocate memory in tsStartJavaThread (lifecycle.c:1096). Java heap 1G reserved, 741076K committed Paged memory=26548K/3145712K. Your Java heap size might be set too high. Try to reduce the Java heap size using -Xmx:<size> (e.g. "-Xmx128m").
via Stack Overflow by Alvin Chen
, 1 year ago
via rssing.com by Unknown author, 1 year ago
unable to create new native thread
via nabble.com by Unknown author, 1 year ago
unable to create new native thread
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:640)
at java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:703)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:652)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

10 times, 2 months ago
Once, 2 months ago
Once, 3 months ago
Once, 3 months ago
Once, 3 months ago

Write tip

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