java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached at java.lang.Thread.start0(java.base@9-internal/Native Method) at java.lang.Thread.start(java.base@9-internal/Thread.java:812)

JDK Bug System | Joseph Provino | 7 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.

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    unable to create native thread: possibly out of memory or process/resource limits reached at java.lang.Thread.start0(java.base@9-internal/Native Method) at java.lang.Thread.start(java.base@9-internal/Thread.java:812)

    at runtime.threads.LPHello.LPHelloBase.lphelloIteration()
  2. runtime.threads.LPHello
    LPHello.run
    1. runtime.threads.LPHello.LPHelloBase.lphelloIteration(LPHelloBase.java:117)
    2. runtime.threads.LPHello.LPHello.run(LPHello.java:85)
    2 frames
  3. nsk.share.test
    Tests$TestRunner.run
    1. nsk.share.test.Tests$TestRunner.execute(Tests.java:64)
    2. nsk.share.test.Tests$TestRunner.run(Tests.java:78)
    2 frames
  4. nsk.share.gc
    GC.runTest
    1. nsk.share.gc.GC.runTest(GC.java:96)
    1 frame
  5. runtime.threads.LPHello
    LPHello.main
    1. runtime.threads.LPHello.LPHello.main(LPHello.java:134)
    1 frame