java.lang.OutOfMemoryError: Java heap space

Coderanch | Nidheesh Krishna | 5 months ago
  1. 0

    handling large xml files

    Coderanch | 5 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

    6 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
      StringWriter.write
      1. java.util.Arrays.copyOf(Arrays.java:2367)
      2. java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
      3. java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
      4. java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:587)
      5. java.lang.StringBuffer.append(StringBuffer.java:332)
      6. java.io.StringWriter.write(StringWriter.java:77)
      6 frames
    3. Xerces2-j
      BaseMarkupSerializer.serializeNode
      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