java.lang.OutOfMemoryError: Java heap space

Jenkins JIRA | viruganesh | 8 years ago
  1. 0

    We are trying to enable "Publish JUnit test result report" option and in the "Test report XMLs" we have dist\Junit\*.xml We are getting the following error Recording test results FATAL: Java heap space java.lang.OutOfMemoryError: Java heap space at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuffer.append(Unknown Source) at org.dom4j.io.SAXContentHandler.characters(SAXContentHandler.java:293) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.characters(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanCDATASection(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at org.dom4j.io.SAXReader.read(SAXReader.java:465) at org.dom4j.io.SAXReader.read(SAXReader.java:264) at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:89) at hudson.tasks.junit.TestResult.parse(TestResult.java:162) at hudson.tasks.junit.TestResult.parse(TestResult.java:118) at hudson.tasks.junit.TestResult.<init>(TestResult.java:95) at hudson.tasks.junit.JUnitResultArchiver$1.invoke(JUnitResultArchiver.java:95) at hudson.tasks.junit.JUnitResultArchiver$1.invoke(JUnitResultArchiver.java:82) at hudson.FilePath.act(FilePath.java:635) at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:82) 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) When I give a specific xml file it work ok. The problem occurs only when a wild card is "*" is used.

    Jenkins JIRA | 8 years ago | viruganesh
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    We are trying to enable "Publish JUnit test result report" option and in the "Test report XMLs" we have dist\Junit\*.xml We are getting the following error Recording test results FATAL: Java heap space java.lang.OutOfMemoryError: Java heap space at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuffer.append(Unknown Source) at org.dom4j.io.SAXContentHandler.characters(SAXContentHandler.java:293) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.characters(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanCDATASection(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at org.dom4j.io.SAXReader.read(SAXReader.java:465) at org.dom4j.io.SAXReader.read(SAXReader.java:264) at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:89) at hudson.tasks.junit.TestResult.parse(TestResult.java:162) at hudson.tasks.junit.TestResult.parse(TestResult.java:118) at hudson.tasks.junit.TestResult.<init>(TestResult.java:95) at hudson.tasks.junit.JUnitResultArchiver$1.invoke(JUnitResultArchiver.java:95) at hudson.tasks.junit.JUnitResultArchiver$1.invoke(JUnitResultArchiver.java:82) at hudson.FilePath.act(FilePath.java:635) at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:82) 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) When I give a specific xml file it work ok. The problem occurs only when a wild card is "*" is used.

    Jenkins JIRA | 8 years ago | viruganesh
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    OutOfMemory on java webstart

    Google Groups | 5 years ago | Jon Schewe
    hudson.util.IOException2: remote file operation failed: /Users/hudson/workspace/grex-bps-feature-branches/label/mac at hudson.remoting.Channel@2d67bea8:bum-mac
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jObjectArray problem

    Oracle Community | 8 years ago | 843829
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    [Neo4j] REST batch completes with error code

    Google Groups | 5 years ago | jadell
    java.lang.OutOfMemoryError: Java heap space

    3 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

      Java heap space

      at java.lang.AbstractStringBuilder.expandCapacity()
    2. Java RT
      StringBuffer.append
      1. java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
      2. java.lang.AbstractStringBuilder.append(Unknown Source)
      3. java.lang.StringBuffer.append(Unknown Source)
      3 frames
    3. dom4j
      SAXContentHandler.characters
      1. org.dom4j.io.SAXContentHandler.characters(SAXContentHandler.java:293)
      1 frame