java.lang.OutOfMemoryError

unable to create new native thread

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web666

  • via Unknown by Unknown author,
  • via Unknown by Asra Yousuf,
  • Stack trace

    • java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method)[?:1.8.0_74] at java.lang.Thread.start(Thread.java:714)[?:1.8.0_74] at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950)[?:1.8.0_74] at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1368)[?:1.8.0_74] at org.jboss.netty.util.internal.DeadLockProofWorker.start(DeadLockProofWorker.java:38)[netty-3.10.4.Final.jar:?] at org.jboss.netty.channel.socket.nio.AbstractNioSelector.openSelector(AbstractNioSelector.java:368)[netty-3.10.4.Final.jar:?] at org.jboss.netty.channel.socket.nio.AbstractNioSelector.<init>(AbstractNioSelector.java:100)[netty-3.10.4.Final.jar:?] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.<init>(AbstractNioWorker.java:52)[netty-3.10.4.Final.jar:?] at org.jboss.netty.channel.socket.nio.NioWorker.<init>(NioWorker.java:45)[netty-3.10.4.Final.jar:?] at org.jboss.netty.channel.socket.nio.NioWorkerPool.newWorker(NioWorkerPool.java:44)[netty-3.10.4.Final.jar:?] at org.jboss.netty.channel.socket.nio.NioWorkerPool.newWorker(NioWorkerPool.java:28)[netty-3.10.4.Final.jar:?] at org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.init(AbstractNioWorkerPool.java:80)[netty-3.10.4.Final.jar:?] at org.jboss.netty.channel.socket.nio.NioWorkerPool.<init>(NioWorkerPool.java:39)[netty-3.10.4.Final.jar:?] at com.metamx.http.client.HttpClientInit.createBootstrap(HttpClientInit.java:133)[http-client-1.0.4.jar:?] at com.metamx.http.client.HttpClientInit.createClient(HttpClientInit.java:85)[http-client-1.0.4.jar:?] at io.druid.guice.http.HttpClientModule$HttpClientProvider.get(HttpClientModule.java:116)[druid-server-0.9.0.jar:0.9.0] at io.druid.guice.http.HttpClientModule$HttpClientProvider.get(HttpClientModule.java:86)[druid-server-0.9.0.jar:0.9.0] at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)[guice-4.0-beta.jar:?] at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)[guice-4.0-beta.jar:?] at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:66)[guice-4.0-beta.jar:?] at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)[guice-4.0-beta.jar:?] at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)[guice-4.0-beta.jar:?] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)[guice-4.0-beta.jar:?] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)[guice-4.0-beta.jar:?] at com.google.inject.Scopes$1$1.get(Scopes.java:65)[guice-4.0-beta.jar:?] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)[guice-4.0-beta.jar:?] at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)[guice-4.0-beta.jar:?] at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)[guice-4.0-beta.jar:?] at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:107)[guice-4.0-beta.jar:?] at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88)[guice-4.0-beta.jar:?] at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)[guice-4.0-beta.jar:?] at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005)[guice-4.0-beta.jar:?] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)[guice-4.0-beta.jar:?] at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001)[guice-4.0-beta.jar:?] at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1036)[guice-4.0-beta.jar:?] at io.druid.guice.PolyBind$ConfiggedProvider.get(PolyBind.java:178)[druid-api-0.3.16.jar:0.9.0] at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)[guice-4.0-beta.jar:?] at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)[guice-4.0-beta.jar:?] at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:66)[guice-4.0-beta.jar:?] at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)[guice-4.0-beta.jar:?] at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)[guice-4.0-beta.jar:?] at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)[guice-4.0-beta.jar:?] at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:107)[guice-4.0-beta.jar:?] at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88)[guice-4.0-beta.jar:?] at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)[guice-4.0-beta.jar:?] at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)[guice-4.0-beta.jar:?] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)[guice-4.0-beta.jar:?] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)[guice-4.0-beta.jar:?] at io.druid.guice.LifecycleScope$1.get(LifecycleScope.java:68)[druid-api-0.3.16.jar:0.9.0] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)[guice-4.0-beta.jar:?] at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005)[guice-4.0-beta.jar:?] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051)[guice-4.0-beta.jar:?] at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001)[guice-4.0-beta.jar:?] at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1036)[guice-4.0-beta.jar:?] at io.druid.guice.LifecycleModule$2.start(LifecycleModule.java:153)[druid-api-0.3.16.jar:0.9.0] at io.druid.cli.GuiceRunnable.initLifecycle(GuiceRunnable.java:91)[druid-services-0.9.0.jar:0.9.0] at io.druid.cli.CliPeon.run(CliPeon.java:237)[druid-services-0.9.0.jar:0.9.0] at io.druid.cli.Main.main(Main.java:105)[druid-services-0.9.0.jar:0.9.0]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    QrCericQrCeric
    3 times, last one
    Unknown visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    36 more bugmates