java.lang.OutOfMemoryError: Java heap space

Jenkins JIRA | wim jongman | 4 years ago
  1. 0

    Mar 04, 2013 12:06:29 PM hudson.triggers.SCMTrigger$Runner run INFO: SCM changes detected in Gravity_Update_Site. Triggering #94 Exception in thread "JmDNS(fe80:0:0:0:20c:29ff:fe7d:d4c6%2.local.).Timer" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2219) at java.util.ArrayList.grow(ArrayList.java:213) at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:187) at java.util.ArrayList.addAll(ArrayList.java:532) at javax.jmdns.impl.DNSCache.allValues(DNSCache.java:351) at javax.jmdns.impl.JmDNSImpl.cleanCache(JmDNSImpl.java:1771) at javax.jmdns.impl.tasks.RecordReaper.run(RecordReaper.java:58) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Mar 04, 2013 12:09:53 PM hudson.model.RunMap retrieve WARNING: could not load /media/storage/jenkins_home/jobs/iSeriesServerDispatcher/builds/2 hudson.util.IOException2: Unable to read /media/storage/jenkins_home/jobs/iSeriesServerDispatcher/builds/2013-01-08_22-39-03/build.xml at hudson.XmlFile.unmarshal(XmlFile.java:166) at hudson.model.Run.reload(Run.java:308) at hudson.model.Run.<init>(Run.java:297) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:179) at hudson.model.Build.<init>(Build.java:103) at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1084) at hudson.model.AbstractProject$1.create(AbstractProject.java:282) at hudson.model.AbstractProject$1.create(AbstractProject.java:280) at hudson.model.RunMap.retrieve(RunMap.java:225) at hudson.model.RunMap.retrieve(RunMap.java:59) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:645) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:608) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:347) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:505) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:358) at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:300) at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:1021) at hudson.model.AbstractProject.poll(AbstractProject.java:1387) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.OutOfMemoryError: Java heap space

    Jenkins JIRA | 4 years ago | wim jongman
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Mar 04, 2013 12:06:29 PM hudson.triggers.SCMTrigger$Runner run INFO: SCM changes detected in Gravity_Update_Site. Triggering #94 Exception in thread "JmDNS(fe80:0:0:0:20c:29ff:fe7d:d4c6%2.local.).Timer" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2219) at java.util.ArrayList.grow(ArrayList.java:213) at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:187) at java.util.ArrayList.addAll(ArrayList.java:532) at javax.jmdns.impl.DNSCache.allValues(DNSCache.java:351) at javax.jmdns.impl.JmDNSImpl.cleanCache(JmDNSImpl.java:1771) at javax.jmdns.impl.tasks.RecordReaper.run(RecordReaper.java:58) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Mar 04, 2013 12:09:53 PM hudson.model.RunMap retrieve WARNING: could not load /media/storage/jenkins_home/jobs/iSeriesServerDispatcher/builds/2 hudson.util.IOException2: Unable to read /media/storage/jenkins_home/jobs/iSeriesServerDispatcher/builds/2013-01-08_22-39-03/build.xml at hudson.XmlFile.unmarshal(XmlFile.java:166) at hudson.model.Run.reload(Run.java:308) at hudson.model.Run.<init>(Run.java:297) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:179) at hudson.model.Build.<init>(Build.java:103) at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1084) at hudson.model.AbstractProject$1.create(AbstractProject.java:282) at hudson.model.AbstractProject$1.create(AbstractProject.java:280) at hudson.model.RunMap.retrieve(RunMap.java:225) at hudson.model.RunMap.retrieve(RunMap.java:59) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:645) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:608) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:347) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:505) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:358) at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:300) at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:1021) at hudson.model.AbstractProject.poll(AbstractProject.java:1387) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.OutOfMemoryError: Java heap space

    Jenkins JIRA | 4 years ago | wim jongman
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    Agency list doubles in length with each new feed

    GitHub | 5 years ago | abyrd
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Optimized Permutation Code in Java

    Stack Overflow | 4 years ago | Maximin
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    Java heap space on deploying with flex-plugin

    Stack Overflow | 6 years ago | Chupacabras
    java.lang.OutOfMemoryError: Java heap space

  1. Alexandru Popa 7 times, last 4 weeks ago
  2. robert.nemet 1 times, last 7 months ago
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 java.util.Arrays.copyOf()
  2. Java RT
    ArrayList.addAll
    1. java.util.Arrays.copyOf(Arrays.java:2219)
    2. java.util.ArrayList.grow(ArrayList.java:213)
    3. java.util.ArrayList.ensureCapacityInternal(ArrayList.java:187)
    4. java.util.ArrayList.addAll(ArrayList.java:532)
    4 frames
  3. JmDNS
    RecordReaper.run
    1. javax.jmdns.impl.DNSCache.allValues(DNSCache.java:351)
    2. javax.jmdns.impl.JmDNSImpl.cleanCache(JmDNSImpl.java:1771)
    3. javax.jmdns.impl.tasks.RecordReaper.run(RecordReaper.java:58)
    3 frames
  4. Java RT
    TimerThread.run
    1. java.util.TimerThread.mainLoop(Timer.java:555)
    2. java.util.TimerThread.run(Timer.java:505)
    2 frames