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

Server Fault | vinchan | 5 years 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

    Java `OutOfMemoryError` when creating < 100 threads

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

    java.lang.OutOfMemoryError on ec2 machine

    Server Fault | 5 years ago | vinchan
    java.lang.OutOfMemoryError: unable to create new native thread
  3. 0

    Too many ports (2048) open

    GitHub | 2 years ago | jcoyne
    java.lang.OutOfMemoryError: unable to create new native thread
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OutOfMemoryErrors appearing after a while with lots of peer connections

    GitHub | 4 years ago | myleshorton
    java.lang.OutOfMemoryError: unable to create new native thread
  6. 0

    OOM - unable to create new native thread

    GitHub | 3 years ago | prowave
    java.lang.OutOfMemoryError: unable to create new native thread

  1. filpgame 1 times, last 2 months ago
9 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:657)
    3. java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:943)
    4. java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1325)
    4 frames