java.lang.OutOfMemoryError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by wim jongman,
  • 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
    via by wim jongman,
  • Optimized Permutation Code in Java
    via Stack Overflow by Maximin
    ,
  • OutOfMemory Exception
    via by Simon Knott,
  • Eclipse 3.3m5eh, SpringIDE 2.0M3. On large workspace with lots of classes but only <100 Spring beans, the following happens: {code} !ENTRY org.eclipse.core.jobs 4 2 2007-03-14 11:35:48.139 !MESSAGE An internal error occurred during: "Building Spring AOP reference model". !STACK 0 java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2760) at java.util.Arrays.copyOf(Arrays.java:2734) at java.util.ArrayList.ensureCapacity(ArrayList.java:167) at java.util.ArrayList.addAll(ArrayList.java:474) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassLoader(SpringCoreUtils.java:260) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopReferencesFromFile(AopReferenceModelBuilder.java:407) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopModel(AopReferenceModelBuilder.java:170) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder####BuildJob.run(AopReferenceModelBuilder.java:132) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) {code}
    via by Imported,
  • GitHub comment 19#213288573
    via GitHub by jetnet
    ,
    • 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)

    Users with the same issue

    robert.nemet
    1 times, last one,
    Alexandru Popa
    7 times, last one,
    David
    1 times, last one,
    Handemelindo
    1 times, last one,
    Unknown visitor1 times, last one,
    50 more bugmates