java.lang.OutOfMemoryError: Java heap space

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.

  • We are seeing the following error : Publishing Cobertura coverage report... Publishing Cobertura coverage results... FATAL: Java heap space java.lang.OutOfMemoryError: Java heap space at hudson.plugins.cobertura.targets.CoveragePaint.copyOf(CoveragePaint.java:77) at hudson.plugins.cobertura.targets.CoveragePaint.ensureSize (CoveragePaint.java:50) at hudson.plugins.cobertura.targets.CoveragePaint.paint(CoveragePaint.java:83) at hudson.plugins.cobertura.targets.CoverageResult.paint (CoverageResult.java:136) at hudson.plugins.cobertura.CoberturaXmlHandler.startElement (CoberturaCoverageParser.java:214) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement (AbstractSAXParser.java:533) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElemen t(AbstractXMLDocumentParser.java:220) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement (XMLDTDValidator.java:819) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStart Element(XMLDocumentFragmentScannerImpl.java:872) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentC ontentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocum ent(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse (XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse (AbstractSAXParser.java:1242) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) at javax.xml.parsers.SAXParser.parse(SAXParser.java:176) at hudson.plugins.cobertura.CoberturaCoverageParser.parse (CoberturaCoverageParser.java:77) at hudson.plugins.cobertura.CoberturaCoverageParser.parse (CoberturaCoverageParser.java:48) at hudson.plugins.cobertura.CoberturaPublisher.perform (CoberturaPublisher.java:259) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep (AbstractBuild.java:372) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep (AbstractBuild.java:360) at hudson.model.Build$RunnerImpl.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:345) at hudson.model.Run.run(Run.java:947) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119)
    via by gkothari,
  • We are seeing the following error : Publishing Cobertura coverage report... Publishing Cobertura coverage results... FATAL: Java heap space java.lang.OutOfMemoryError: Java heap space at hudson.plugins.cobertura.targets.CoveragePaint.copyOf(CoveragePaint.java:77) at hudson.plugins.cobertura.targets.CoveragePaint.ensureSize (CoveragePaint.java:50) at hudson.plugins.cobertura.targets.CoveragePaint.paint(CoveragePaint.java:83) at hudson.plugins.cobertura.targets.CoverageResult.paint (CoverageResult.java:136) at hudson.plugins.cobertura.CoberturaXmlHandler.startElement (CoberturaCoverageParser.java:214) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement (AbstractSAXParser.java:533) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElemen t(AbstractXMLDocumentParser.java:220) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement (XMLDTDValidator.java:819) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStart Element(XMLDocumentFragmentScannerImpl.java:872) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentC ontentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocum ent(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse (XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse (AbstractSAXParser.java:1242) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) at javax.xml.parsers.SAXParser.parse(SAXParser.java:176) at hudson.plugins.cobertura.CoberturaCoverageParser.parse (CoberturaCoverageParser.java:77) at hudson.plugins.cobertura.CoberturaCoverageParser.parse (CoberturaCoverageParser.java:48) at hudson.plugins.cobertura.CoberturaPublisher.perform (CoberturaPublisher.java:259) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep (AbstractBuild.java:372) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep (AbstractBuild.java:360) at hudson.model.Build$RunnerImpl.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:345) at hudson.model.Run.run(Run.java:947) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119)
    via by gkothari,
    • java.lang.OutOfMemoryError: Java heap space at hudson.plugins.cobertura.targets.CoveragePaint.copyOf(CoveragePaint.java:77) at hudson.plugins.cobertura.targets.CoveragePaint.ensureSize(CoveragePaint.java:50) at hudson.plugins.cobertura.targets.CoveragePaint.paint(CoveragePaint.java:83)
    No Bugmate found.