java.lang.OutOfMemoryError: Java heap space

Coderanch | Nidheesh Krishna | 10 months ago
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. 0

    handling large xml files

    Coderanch | 10 months ago | Nidheesh Krishna
    java.lang.OutOfMemoryError: Java heap space
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Out of memory error while creating huge XML

    Stack Overflow | 7 years ago | Kiru
    java.lang.OutOfMemoryError: Java heap space

    7 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.util.Arrays.copyOf()
    2. Java RT
      1. java.util.Arrays.copyOf(
      2. java.lang.AbstractStringBuilder.expandCapacity(
      3. java.lang.AbstractStringBuilder.ensureCapacityInternal(
      4. java.lang.AbstractStringBuilder.append(
      5. java.lang.StringBuffer.append(
      6 frames
    3. Xerces2-j
      1. org.apache.xml.serialize.IndentPrinter.flushLine(Unknown Source)
      2. org.apache.xml.serialize.IndentPrinter.breakLine(Unknown Source)
      3. org.apache.xml.serialize.IndentPrinter.breakLine(Unknown Source)
      4. org.apache.xml.serialize.XMLSerializer.serializeElement(Unknown Source)
      5. org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source)
      6. org.apache.xml.serialize.XMLSerializer.serializeElement(Unknown Source)
      7. org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source)
      7 frames