java.lang.OutOfMemoryError: Java heap space

Jenkins JIRA | Tim Drury | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Our QA noticed no new builds for 2 days. When I checked the polling log of one project it was: Perforce Polling Log Started on Apr 1, 2012 7:00:38 PM Looking for changes... Using master Using master perforce client: jenkins_me-main ERROR: Failed to record SCM polling java.lang.OutOfMemoryError: Java heap space I did not follow the Jenkins wiki process :(. If this happens again, I'll use it to get more information. Here is the stack trace: Apr 1, 2012 7:48:48 PM hudson.triggers.SCMTrigger$Runner runPolling SEVERE: Failed to record SCM polling java.lang.OutOfMemoryError: Java heap space at hudson.remoting.FastPipedInputStream.<init>(FastPipedInputStream.java:78) at hudson.remoting.FastPipedInputStream.<init>(FastPipedInputStream.java:66) at hudson.plugins.perforce.HudsonP4RemoteExecutor.exec(HudsonP4RemoteExecutor.java:97) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:321) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:292) at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:54) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1208) at hudson.plugins.perforce.PerforceSCM.compareRemoteRevisionWith(PerforceSCM.java:903) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject.poll(AbstractProject.java:1323) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) We do keep Jenkins running without periodic reboots so I'm thinking there may be a memory leak somewhere as well.

    Jenkins JIRA | 5 years ago | Tim Drury
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Our QA noticed no new builds for 2 days. When I checked the polling log of one project it was: Perforce Polling Log Started on Apr 1, 2012 7:00:38 PM Looking for changes... Using master Using master perforce client: jenkins_me-main ERROR: Failed to record SCM polling java.lang.OutOfMemoryError: Java heap space I did not follow the Jenkins wiki process :(. If this happens again, I'll use it to get more information. Here is the stack trace: Apr 1, 2012 7:48:48 PM hudson.triggers.SCMTrigger$Runner runPolling SEVERE: Failed to record SCM polling java.lang.OutOfMemoryError: Java heap space at hudson.remoting.FastPipedInputStream.<init>(FastPipedInputStream.java:78) at hudson.remoting.FastPipedInputStream.<init>(FastPipedInputStream.java:66) at hudson.plugins.perforce.HudsonP4RemoteExecutor.exec(HudsonP4RemoteExecutor.java:97) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:321) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:292) at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:54) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1208) at hudson.plugins.perforce.PerforceSCM.compareRemoteRevisionWith(PerforceSCM.java:903) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject.poll(AbstractProject.java:1323) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) We do keep Jenkins running without periodic reboots so I'm thinking there may be a memory leak somewhere as well.

    Jenkins JIRA | 5 years ago | Tim Drury
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    NullPointerException produced by com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#5

    Stack Overflow | 3 years ago | Vishal Singh
    java.lang.OutOfMemoryError: Java heap space </code></pre> <p>And </p> <pre><code> Exception in thread "http-8080-149" at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.OutOfMemoryError: Java heap space | Oracle Community

    oracle.com | 1 year ago
    java.lang.OutOfMemoryError: Java heap space - - - -
  6. 0

    [elasticsearch] server failed excpetion - Grokbase

    grokbase.com | 10 months ago
    java.lang.OutOfMemoryError: Java heap space at org.elasticsearch.common.compress.lzf.BufferRecycler.allocDecodeBuffer(BufferRecycler.java:150) at org.elasticsearch.common.io.stream.LZFStreamInput.<init>(LZFStreamInput.java:91) at org.elasticsearch.common.io.stream.CachedStreamInput.instance(CachedStreamInput.java:48) at org.elasticsearch.common.io.stream.CachedStreamInput.getCharArray(CachedStreamInput.java:79) at org.elasticsearch.common.io.stream.StreamInput.readUTF(StreamInput.java:160) at org.elasticsearch.common.io.stream.HandlesStreamInput.readUTF(HandlesStreamInput.java:49) at org.elasticsearch.action.index.IndexResponse.readFrom(IndexResponse.java:142) at org.elasticsearch.transport.netty.MessageChannelHandler.handleResponse(MessageChannelHandler.java:254) at org.elasticsearch.transport.netty.MessageChannelHandler.process(MessageChannelHandler.java:233) at org.elasticsearch.transport.netty.MessageChannelHandler.callDecode(MessageChannelHandler.java:141) at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:95) at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559) at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268) at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255) at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:94) at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:364) at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:238) at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:38) at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

    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

      Java heap space

      at hudson.remoting.FastPipedInputStream.<init>()
    2. Hudson :: Remoting Layer
      FastPipedInputStream.<init>
      1. hudson.remoting.FastPipedInputStream.<init>(FastPipedInputStream.java:78)
      2. hudson.remoting.FastPipedInputStream.<init>(FastPipedInputStream.java:66)
      2 frames
    3. hudson.plugins.perforce
      HudsonP4RemoteExecutor.exec
      1. hudson.plugins.perforce.HudsonP4RemoteExecutor.exec(HudsonP4RemoteExecutor.java:97)
      1 frame
    4. com.tek42.perforce
      Workspaces.getWorkspace
      1. com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:321)
      2. com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:292)
      3. com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:54)
      3 frames
    5. hudson.plugins.perforce
      PerforceSCM.compareRemoteRevisionWith
      1. hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1208)
      2. hudson.plugins.perforce.PerforceSCM.compareRemoteRevisionWith(PerforceSCM.java:903)
      2 frames
    6. Hudson
      SequentialExecutionQueue$QueueEntry.run
      1. hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
      2. hudson.scm.SCM.poll(SCM.java:373)
      3. hudson.model.AbstractProject.poll(AbstractProject.java:1323)
      4. hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420)
      5. hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449)
      6. hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      6 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:662)
      6 frames