java.lang.OutOfMemoryError: Java heap space

GitHub | ncchung | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    OutOfMemoryError in testNoReadsInFirstSplitBug unit test

    GitHub | 9 months ago | heuermh
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    OutOfMemoryError in SonarQube 5.6.4

    Stack Overflow | 2 months ago | Alix
    java.lang.OutOfMemoryError: Java heap space
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.copyOfRange()
  2. Java RT
    StringBuilder.toString
    1. java.util.Arrays.copyOfRange(Arrays.java:3664)
    2. java.lang.String.<init>(String.java:207)
    3. java.lang.StringBuilder.toString(StringBuilder.java:407)
    3 frames
  3. Commons IO
    IOUtils.toString
    1. org.apache.commons.io.output.StringBuilderWriter.toString(StringBuilderWriter.java:158)
    2. org.apache.commons.io.IOUtils.toString(IOUtils.java:779)
    3. org.apache.commons.io.IOUtils.toString(IOUtils.java:803)
    3 frames
  4. org.xmlcml.html
    HtmlFactory.parse
    1. org.xmlcml.html.HtmlFactory.parse(HtmlFactory.java:631)
    2. org.xmlcml.html.HtmlFactory.parse(HtmlFactory.java:623)
    2 frames
  5. org.xmlcml.cmine
    DefaultArgProcessor.extractPSectionElements
    1. org.xmlcml.cmine.args.DefaultArgProcessor.getScholarlyHtmlElement(DefaultArgProcessor.java:1187)
    2. org.xmlcml.cmine.files.CTree.ensureScholarlyHtmlElement(CTree.java:947)
    3. org.xmlcml.cmine.args.DefaultArgProcessor.extractPSectionElements(DefaultArgProcessor.java:1170)
    3 frames
  6. org.xmlcml.ami2
    AMIArgProcessor.runRunMethodsOnChosenArgOptions
    1. org.xmlcml.ami2.plugins.AMIArgProcessor.ensureSectionElements(AMIArgProcessor.java:250)
    2. org.xmlcml.ami2.plugins.AMIArgProcessor.runRunMethodsOnChosenArgOptions(AMIArgProcessor.java:221)
    2 frames
  7. org.xmlcml.cmine
    DefaultArgProcessor.runAndOutput
    1. org.xmlcml.cmine.args.DefaultArgProcessor.runAndOutput(DefaultArgProcessor.java:1111)
    1 frame
  8. org.xmlcml.ami2
    RegexPlugin.main
    1. org.xmlcml.ami2.plugins.regex.RegexPlugin.main(RegexPlugin.java:35)
    1 frame