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

GitHub | aesteppics | 4 months ago
  1. 0

    GitHub comment 20567#249378904

    GitHub | 4 months ago | aesteppics
    java.lang.OutOfMemoryError: unable to create new native thread
  2. 0

    Suspected native thread leakage in Slick 3.0.0-M3

    GitHub | 2 years ago | adatoo
    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

    Jenkins: "OutOfMemoryError: unable to create new native thread" when building github pull requests

    Stack Overflow | 1 year ago | Daniel
    akka.actor.ActorInitializationException: exception during creation
  6. 0

    Openshift Wildfly 10 restarts automatically due to Out Of Memory error

    Stack Overflow | 11 months ago | arun kumar
    java.lang.OutOfMemoryError: unable to create new native thread

  1. filpgame 1 times, last 3 weeks ago
9 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:714)
    3. java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950)
    4. java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1357)
    4 frames
  3. Scala
    ExecutionContextImpl$$anon$1.execute
    1. scala.concurrent.impl.ExecutionContextImpl$$anon$1.execute(ExecutionContextImpl.scala:136)
    1 frame
  4. slick.backend
    DatabaseComponent$DatabaseDef$class.runSynchronousDatabaseAction
    1. slick.backend.DatabaseComponent$DatabaseDef$class.runSynchronousDatabaseAction(DatabaseComponent.scala:224)
    1 frame
  5. slick.jdbc
    JdbcBackend$DatabaseDef.runSynchronousDatabaseAction
    1. slick.jdbc.JdbcBackend$DatabaseDef.runSynchronousDatabaseAction(JdbcBackend.scala:38)
    1 frame
  6. slick.backend
    DatabaseComponent$DatabaseDef$class.runInContext
    1. slick.backend.DatabaseComponent$DatabaseDef$class.runInContext(DatabaseComponent.scala:201)
    1 frame
  7. slick.jdbc
    JdbcBackend$DatabaseDef.runInContext
    1. slick.jdbc.JdbcBackend$DatabaseDef.runInContext(JdbcBackend.scala:38)
    1 frame
  8. slick.backend
    DatabaseComponent$DatabaseDef$class.runInternal
    1. slick.backend.DatabaseComponent$DatabaseDef$class.runInternal(DatabaseComponent.scala:75)
    1 frame
  9. slick.jdbc
    JdbcBackend$DatabaseDef.runInternal
    1. slick.jdbc.JdbcBackend$DatabaseDef.runInternal(JdbcBackend.scala:38)
    1 frame
  10. slick.backend
    DatabaseComponent$DatabaseDef$class.run
    1. slick.backend.DatabaseComponent$DatabaseDef$class.run(DatabaseComponent.scala:72)
    1 frame
  11. slick.jdbc
    JdbcBackend$DatabaseDef.run
    1. slick.jdbc.JdbcBackend$DatabaseDef.run(JdbcBackend.scala:38)
    1 frame
  12. repositories
    PWSql$.emailTemplates
    1. repositories.PWSql$.emailTemplates(PWSql.scala:236)
    1 frame
  13. services
    EmailService.emailTemplates
    1. services.EmailService.emailTemplates(EmailService.scala:68)
    1 frame
  14. controllers
    EmailController$$anonfun$emailTemplates$1.apply
    1. controllers.EmailController$$anonfun$emailTemplates$1.apply(EmailController.scala:96)
    2. controllers.EmailController$$anonfun$emailTemplates$1.apply(EmailController.scala:93)
    2 frames
  15. Play
    Action$$anonfun$apply$2$$anonfun$apply$5.apply
    1. play.api.mvc.ActionBuilder$$anonfun$apply$13.apply(Action.scala:371)
    2. play.api.mvc.ActionBuilder$$anonfun$apply$13.apply(Action.scala:370)
    3. play.api.mvc.Action$.invokeBlock(Action.scala:498)
    4. play.api.mvc.Action$.invokeBlock(Action.scala:495)
    5. play.api.mvc.ActionBuilder$$anon$2.apply(Action.scala:458)
    6. play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:112)
    7. play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:112)
    8. play.utils.Threads$.withContextClassLoader(Threads.scala:21)
    9. play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:111)
    10. play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:110)
    10 frames
  16. Scala
    Option.map
    1. scala.Option.map(Option.scala:146)
    1 frame
  17. Play
    Action$$anonfun$apply$2.apply
    1. play.api.mvc.Action$$anonfun$apply$2.apply(Action.scala:110)
    2. play.api.mvc.Action$$anonfun$apply$2.apply(Action.scala:103)
    2 frames
  18. Scala
    CallbackRunnable.run
    1. scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)
    2. scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249)
    3. scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
    3 frames
  19. Akka Actor
    BatchingExecutor$BlockableBatch$$anonfun$run$1.apply
    1. akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
    2. akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)
    3. akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
    4. akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
    4 frames
  20. Scala
    BlockContext$.withBlockContext
    1. scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
    1 frame
  21. Akka Actor
    ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec
    1. akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)
    2. akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)
    3. akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:405)
    3 frames
  22. Scala
    ForkJoinWorkerThread.run
    1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
    2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
    3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
    4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
    4 frames