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

Google Groups | Unknown author | 6 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

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

    Google Groups | 6 months ago | Unknown author
    java.lang.OutOfMemoryError: unable to create new native thread
  2. 0

    Unable to create new native thread

    Google Groups | 2 months ago | Asra Yousuf
    java.lang.OutOfMemoryError: unable to create new native thread
  3. 0

    Getting out of memory error when restarting WildFly on OpenShift

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

    Automated exception search integrated into your IDE

  5. 0

    Threads issues

    Google Groups | 2 years ago | Eugene Prokopiev
    java.lang.OutOfMemoryError: unable to create new native thread
  6. 0

    Elasticsearch unable to create native thread

    Stack Overflow | 2 years ago | Mike
    java.lang.OutOfMemoryError: unable to create new native thread
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)[?:1.8.0_74]
    2. java.lang.Thread.start(Thread.java:714)[?:1.8.0_74]
    3. java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950)[?:1.8.0_74]
    4. java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1368)[?:1.8.0_74]
    4 frames
  3. Netty
    NioWorkerPool.<init>
    1. org.jboss.netty.util.internal.DeadLockProofWorker.start(DeadLockProofWorker.java:38)[netty-3.10.4.Final.jar:?]
    2. org.jboss.netty.channel.socket.nio.AbstractNioSelector.openSelector(AbstractNioSelector.java:368)[netty-3.10.4.Final.jar:?]
    3. org.jboss.netty.channel.socket.nio.AbstractNioSelector.<init>(AbstractNioSelector.java:100)[netty-3.10.4.Final.jar:?]
    4. org.jboss.netty.channel.socket.nio.AbstractNioWorker.<init>(AbstractNioWorker.java:52)[netty-3.10.4.Final.jar:?]
    5. org.jboss.netty.channel.socket.nio.NioWorker.<init>(NioWorker.java:45)[netty-3.10.4.Final.jar:?]
    6. org.jboss.netty.channel.socket.nio.NioWorkerPool.newWorker(NioWorkerPool.java:44)[netty-3.10.4.Final.jar:?]
    7. org.jboss.netty.channel.socket.nio.NioWorkerPool.newWorker(NioWorkerPool.java:28)[netty-3.10.4.Final.jar:?]
    8. org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.init(AbstractNioWorkerPool.java:80)[netty-3.10.4.Final.jar:?]
    9. org.jboss.netty.channel.socket.nio.NioWorkerPool.<init>(NioWorkerPool.java:39)[netty-3.10.4.Final.jar:?]
    9 frames
  4. http-client
    HttpClientInit.createClient
    1. com.metamx.http.client.HttpClientInit.createBootstrap(HttpClientInit.java:133)[http-client-1.0.4.jar:?]
    2. com.metamx.http.client.HttpClientInit.createClient(HttpClientInit.java:85)[http-client-1.0.4.jar:?]
    2 frames
  5. io.druid.guice
    HttpClientModule$HttpClientProvider.get
    1. io.druid.guice.http.HttpClientModule$HttpClientProvider.get(HttpClientModule.java:116)[druid-server-0.9.0.jar:0.9.0]
    2. io.druid.guice.http.HttpClientModule$HttpClientProvider.get(HttpClientModule.java:86)[druid-server-0.9.0.jar:0.9.0]
    2 frames
  6. Google Guice - Core Library
    InjectorImpl.getInstance
    1. com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)[guice-4.0-beta.jar:?]
    2. com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)[guice-4.0-beta.jar:?]
    3. com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:66)[guice-4.0-beta.jar:?]
    4. com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)[guice-4.0-beta.jar:?]
    5. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)[guice-4.0-beta.jar:?]
    6. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)[guice-4.0-beta.jar:?]
    7. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)[guice-4.0-beta.jar:?]
    8. com.google.inject.Scopes$1$1.get(Scopes.java:65)[guice-4.0-beta.jar:?]
    9. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)[guice-4.0-beta.jar:?]
    10. com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)[guice-4.0-beta.jar:?]
    11. com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)[guice-4.0-beta.jar:?]
    12. com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:107)[guice-4.0-beta.jar:?]
    13. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88)[guice-4.0-beta.jar:?]
    14. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)[guice-4.0-beta.jar:?]
    15. com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005)[guice-4.0-beta.jar:?]
    16. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)[guice-4.0-beta.jar:?]
    17. com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001)[guice-4.0-beta.jar:?]
    18. com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1036)[guice-4.0-beta.jar:?]
    18 frames
  7. Druid Indexing
    PolyBind$ConfiggedProvider.get
    1. io.druid.guice.PolyBind$ConfiggedProvider.get(PolyBind.java:178)[druid-api-0.3.16.jar:0.9.0]
    1 frame
  8. Google Guice - Core Library
    ProviderToInternalFactoryAdapter.get
    1. com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)[guice-4.0-beta.jar:?]
    2. com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)[guice-4.0-beta.jar:?]
    3. com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:66)[guice-4.0-beta.jar:?]
    4. com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)[guice-4.0-beta.jar:?]
    5. com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)[guice-4.0-beta.jar:?]
    6. com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)[guice-4.0-beta.jar:?]
    7. com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:107)[guice-4.0-beta.jar:?]
    8. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88)[guice-4.0-beta.jar:?]
    9. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)[guice-4.0-beta.jar:?]
    10. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)[guice-4.0-beta.jar:?]
    11. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)[guice-4.0-beta.jar:?]
    12. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)[guice-4.0-beta.jar:?]
    12 frames
  9. Druid Indexing
    LifecycleScope$1.get
    1. io.druid.guice.LifecycleScope$1.get(LifecycleScope.java:68)[druid-api-0.3.16.jar:0.9.0]
    1 frame
  10. Google Guice - Core Library
    InjectorImpl.getInstance
    1. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)[guice-4.0-beta.jar:?]
    2. com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005)[guice-4.0-beta.jar:?]
    3. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051)[guice-4.0-beta.jar:?]
    4. com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001)[guice-4.0-beta.jar:?]
    5. com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1036)[guice-4.0-beta.jar:?]
    5 frames
  11. Druid Indexing
    LifecycleModule$2.start
    1. io.druid.guice.LifecycleModule$2.start(LifecycleModule.java:153)[druid-api-0.3.16.jar:0.9.0]
    1 frame
  12. Druid
    Main.main
    1. io.druid.cli.GuiceRunnable.initLifecycle(GuiceRunnable.java:91)[druid-services-0.9.0.jar:0.9.0]
    2. io.druid.cli.CliPeon.run(CliPeon.java:237)[druid-services-0.9.0.jar:0.9.0]
    3. io.druid.cli.Main.main(Main.java:105)[druid-services-0.9.0.jar:0.9.0]
    3 frames