hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.OutOfMemoryError: unable to create new native thread

Jenkins JIRA | Demitrius Nelon | 2 years ago
  1. 0

    Jenkins was working at the end of the day yesterday after slogging through the JRE 8 and Docker plugin upgrade. Now this morning I'm getting: java.lang.OutOfMemoryError ------------------------------------------ hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.OutOfMemoryError: unable to create new native thread at hudson.WebAppMain$3.run(WebAppMain.java:237) Caused by: org.jvnet.hudson.reactor.ReactorException: java.lang.OutOfMemoryError: unable to create new native thread at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at jenkins.model.Jenkins.executeReactor(Jenkins.java:916) at jenkins.model.Jenkins.<init>(Jenkins.java:815) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:225) Caused by: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:714) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1368) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) at com.google.common.util.concurrent.ForwardingExecutorService.submit(ForwardingExecutorService.java:105) at jenkins.util.InterceptingExecutorService.submit(InterceptingExecutorService.java:39) at hudson.slaves.SlaveComputer._connect(SlaveComputer.java:230) at hudson.model.Computer.connect(Computer.java:420) at hudson.slaves.CloudRetentionStrategy.start(CloudRetentionStrategy.java:78) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.start(DockerOnceRetentionStrategy.java:52) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.start(DockerOnceRetentionStrategy.java:29) at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:127) at hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:44) at hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:186) at hudson.model.Queue._withLock(Queue.java:1212) at hudson.model.Queue.withLock(Queue.java:1148) at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:169) at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1224) at jenkins.model.Nodes$6.run(Nodes.java:254) at hudson.model.Queue._withLock(Queue.java:1212) at hudson.model.Queue.withLock(Queue.java:1148) at jenkins.model.Nodes.load(Nodes.java:245) at jenkins.model.Jenkins$16.run(Jenkins.java:2641) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:905) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Jenkins JIRA | 2 years ago | Demitrius Nelon
    hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.OutOfMemoryError: unable to create new native thread
  2. 0

    Jenkins was working at the end of the day yesterday after slogging through the JRE 8 and Docker plugin upgrade. Now this morning I'm getting: java.lang.OutOfMemoryError ------------------------------------------ hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.OutOfMemoryError: unable to create new native thread at hudson.WebAppMain$3.run(WebAppMain.java:237) Caused by: org.jvnet.hudson.reactor.ReactorException: java.lang.OutOfMemoryError: unable to create new native thread at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at jenkins.model.Jenkins.executeReactor(Jenkins.java:916) at jenkins.model.Jenkins.<init>(Jenkins.java:815) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:225) Caused by: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:714) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1368) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) at com.google.common.util.concurrent.ForwardingExecutorService.submit(ForwardingExecutorService.java:105) at jenkins.util.InterceptingExecutorService.submit(InterceptingExecutorService.java:39) at hudson.slaves.SlaveComputer._connect(SlaveComputer.java:230) at hudson.model.Computer.connect(Computer.java:420) at hudson.slaves.CloudRetentionStrategy.start(CloudRetentionStrategy.java:78) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.start(DockerOnceRetentionStrategy.java:52) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.start(DockerOnceRetentionStrategy.java:29) at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:127) at hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:44) at hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:186) at hudson.model.Queue._withLock(Queue.java:1212) at hudson.model.Queue.withLock(Queue.java:1148) at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:169) at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1224) at jenkins.model.Nodes$6.run(Nodes.java:254) at hudson.model.Queue._withLock(Queue.java:1212) at hudson.model.Queue.withLock(Queue.java:1148) at jenkins.model.Nodes.load(Nodes.java:245) at jenkins.model.Jenkins$16.run(Jenkins.java:2641) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:905) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Jenkins JIRA | 2 years ago | Demitrius Nelon
    hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.OutOfMemoryError: unable to create new native thread
  3. 0

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

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

    Automated exception search integrated into your IDE

  5. 0

    ERROR: java.lang.OutOfMemoryError: unable to create new native thread in Loop

    Stack Overflow | 11 months ago | fguespe
    java.lang.OutOfMemoryError: unable to create new native thread
  6. 0

    Enumerator out of memory error

    GitHub | 2 years ago | iconara
    java.lang.OutOfMemoryError: unable to create new native thread

    8 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
      AbstractExecutorService.submit
      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:1368)
      5. java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
      5 frames
    3. Guava
      ForwardingExecutorService.submit
      1. com.google.common.util.concurrent.ForwardingExecutorService.submit(ForwardingExecutorService.java:105)
      1 frame
    4. jenkins.util
      InterceptingExecutorService.submit
      1. jenkins.util.InterceptingExecutorService.submit(InterceptingExecutorService.java:39)
      1 frame
    5. Hudson
      CloudRetentionStrategy.start
      1. hudson.slaves.SlaveComputer._connect(SlaveComputer.java:230)
      2. hudson.model.Computer.connect(Computer.java:420)
      3. hudson.slaves.CloudRetentionStrategy.start(CloudRetentionStrategy.java:78)
      3 frames
    6. com.nirima.jenkins
      DockerOnceRetentionStrategy.start
      1. com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.start(DockerOnceRetentionStrategy.java:52)
      2. com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.start(DockerOnceRetentionStrategy.java:29)
      2 frames
    7. Hudson
      AbstractCIBase.updateComputerList
      1. hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:127)
      2. hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:44)
      3. hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:186)
      4. hudson.model.Queue._withLock(Queue.java:1212)
      5. hudson.model.Queue.withLock(Queue.java:1148)
      6. hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:169)
      6 frames
    8. jenkins.model
      Nodes$6.run
      1. jenkins.model.Jenkins.updateComputerList(Jenkins.java:1224)
      2. jenkins.model.Nodes$6.run(Nodes.java:254)
      2 frames
    9. Hudson
      Queue.withLock
      1. hudson.model.Queue._withLock(Queue.java:1212)
      2. hudson.model.Queue.withLock(Queue.java:1148)
      2 frames
    10. jenkins.model
      Jenkins$16.run
      1. jenkins.model.Nodes.load(Nodes.java:245)
      2. jenkins.model.Jenkins$16.run(Jenkins.java:2641)
      2 frames
    11. init
      Reactor.runTask
      1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
      2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      2 frames
    12. jenkins.model
      Jenkins$7.runTask
      1. jenkins.model.Jenkins$7.runTask(Jenkins.java:905)
      1 frame
    13. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      2 frames
    14. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames