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

Stack Overflow | Edwin | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    There's any way to run two JVM in the same server?

    Stack Overflow | 4 years ago | E_Blue
    java.lang.OutOfMemoryError: unable to create new native thread
  2. 0

    java.lang.OutOfMemoryError: unable to create new native thread in Java (Play Framework)

    Stack Overflow | 4 years ago | MadTech
    java.lang.OutOfMemoryError: unable to create new native thread
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    tomcat stops addressing requests

    Coderanch | 1 year ago | Pari Bhat
    java.lang.OutOfMemoryError: unable to create new native thread

  1. QrCeric 3 times, last 2 months ago
  2. filpgame 1 times, last 4 months ago
10 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    unable to create new native thread

    at java.lang.Thread.start0()
  2. Java RT
    ThreadPoolExecutor.execute
    1. java.lang.Thread.start0(Native Method)
    2. java.lang.Thread.start(Thread.java:714)
    3. java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949)
    4. java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1371)
    4 frames
  3. Tomcat Util
    ThreadPoolExecutor.execute
    1. org.apache.tomcat.util.threads.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:162)
    2. org.apache.tomcat.util.threads.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:142)
    2 frames
  4. Glassfish Core
    StandardThreadExecutor.execute
    1. org.apache.catalina.core.StandardThreadExecutor.execute(StandardThreadExecutor.java:169)
    1 frame
  5. Grizzly HTTP
    JIoEndpoint$Acceptor.run
    1. org.apache.tomcat.util.net.JIoEndpoint.processSocket(JIoEndpoint.java:531)
    2. org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:234)
    2 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame