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 | 5 months ago
  1. 0

    Re: Cassandra 1.2 : OutOfMemoryError: unable to create new native thread

    cassandra-user | 3 years ago | srmore
    java.lang.OutOfMemoryError: unable to create new native thread > at java.lang.Thread.start0(Native Method) > at java.lang.Thread.start(Thread.java:691) > at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949)
  2. 0

    Re: Cassandra 1.2 : OutOfMemoryError: unable to create new native thread

    cassandra-user | 3 years ago | Maciej Miklas
    java.lang.OutOfMemoryError: unable to create new native thread >> at java.lang.Thread.start0(Native Method) >> at java.lang.Thread.start(Thread.java:691) >> at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    getting OutOfMemoryError for elasticsearch threadPool

    Stack Overflow | 2 years ago | bagui
    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 org.elasticsearch.threadpool.ThreadPool.(ThreadPool.java:141) at sun.reflect.GeneratedConstructorAccessor216.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  5. 0

    This failure happens once in PIT on Windows-x86 VM options : -Xcomp -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -XX:+IgnoreUnrecognizedVMOptions -XX:+DeoptimizeALot #section:main ----------messages:(4/464)---------- command: main -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:-CompactStrings -XX:-UseG1GC -XX:+UseParallelGC compiler.stringopts.TestStringObjectInitialization reason: User specified action: run main/othervm/timeout=300 -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:-CompactStrings -XX:-UseG1GC -XX:+UseParallelGC compiler.stringopts.TestStringObjectInitialization Mode: othervm [/othervm specified] elapsed time (seconds): 336.474 ----------configuration:(0/0)---------- ----------System.out:(0/0)---------- ----------System.err:(16/1357)---------- java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(java.base@9-internal/Arrays.java:3744) at java.lang.AbstractStringBuilder.ensureCapacityInternal(java.base@9-internal/AbstractStringBuilder.java:146) at java.lang.AbstractStringBuilder.append(java.base@9-internal/AbstractStringBuilder.java:510) at java.lang.StringBuilder.append(java.base@9-internal/StringBuilder.java:141) at compiler.stringopts.TestStringObjectInitialization.add(TestStringObjectInitialization.java:62) at compiler.stringopts.TestStringObjectInitialization.run(TestStringObjectInitialization.java:67) at compiler.stringopts.TestStringObjectInitialization$Runner.run(TestStringObjectInitialization.java:80) at java.lang.Thread.run(java.base@9-internal/Thread.java:843) java.lang.OutOfMemoryError: Java heap space at compiler.stringopts.TestStringObjectInitialization.add(TestStringObjectInitialization.java:62) at compiler.stringopts.TestStringObjectInitialization.run(TestStringObjectInitialization.java:67) at compiler.stringopts.TestStringObjectInitialization$Runner.run(TestStringObjectInitialization.java:80) at java.lang.Thread.run(java.base@9-internal/Thread.java:843)

    JDK Bug System | 3 months ago | Tatiana Pivovarova
    java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(java.base@9-internal/Arrays.java:3744) at java.lang.AbstractStringBuilder.ensureCapacityInternal(java.base@9-internal/AbstractStringBuilder.java:146) at java.lang.AbstractStringBuilder.append(java.base@9-internal/AbstractStringBuilder.java:510) at java.lang.StringBuilder.append(java.base@9-internal/StringBuilder.java:141)

    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 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