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

Server Fault | vinchan | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 3 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. 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:657)
    3. java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:943)
    4. java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1325)
    4 frames