java.lang.OutOfMemoryError: Java heap space

Coderanch | Sairam Pareek | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    OutofMemory Exception while parsing large xlsx

    Apache Bugzilla | 4 years ago | sairampareek
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    OutofMemory Exception while parsing large xlsx

    Coderanch | 4 years ago | Sairam Pareek
    java.lang.OutOfMemoryError: Java heap space
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Java heap space

    Google Groups | 6 years ago | PR
    java.lang.OutOfMemoryError: Java heap space

  1. linxiaolong 2 times, last 4 months ago
1 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.copyOfRange()
  2. Java RT
    StringBuffer.toString
    1. java.util.Arrays.copyOfRange(Arrays.java:3209)
    2. java.lang.String.<init>(String.java:215)
    3. java.lang.StringBuffer.toString(StringBuffer.java:585)
    3 frames
  3. Apache POI
    ReadOnlySharedStringsTable.endElement
    1. org.apache.poi.xssf.eventusermodel.ReadOnlySharedStringsTable.endElement(ReadOnlySharedStringsTable.java:211)
    1 frame
  4. Xerces2-j
    SAXParserImpl$JAXPSAXParser.parse
    1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    2. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
    3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    8. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    9. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    9 frames
  5. Apache POI
    ReadOnlySharedStringsTable.<init>
    1. org.apache.poi.xssf.eventusermodel.ReadOnlySharedStringsTable.readFrom(ReadOnlySharedStringsTable.java:143)
    2. org.apache.poi.xssf.eventusermodel.ReadOnlySharedStringsTable.<init>(ReadOnlySharedStringsTable.java:112)
    2 frames