java.lang.OutOfMemoryError: Java heap space

Coderanch | aadhar sharma | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Out of memory error when opening an XML of size 18 MB

    Coderanch | 8 years ago | aadhar sharma
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    FATAL ERROR- When analyzing project

    Stack Overflow | 4 years ago | ѕтƒ
    java.lang.OutOfMemoryError: Java heap spac
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 org.apache.xerces.dom.DeferredDocumentImpl.createChunk()
    2. Xerces2-j
      DocumentBuilderImpl.parse
      1. org.apache.xerces.dom.DeferredDocumentImpl.createChunk(Unknown Source)
      2. org.apache.xerces.dom.DeferredDocumentImpl.ensureCapacity(Unknown Source)
      3. org.apache.xerces.dom.DeferredDocumentImpl.createNode(Unknown Source)
      4. org.apache.xerces.dom.DeferredDocumentImpl.createDeferredTextNode(Unknown Source)
      5. org.apache.xerces.parsers.AbstractDOMParser.characters(Unknown Source)
      6. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source)
      7. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      8. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      9. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      10. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      11. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      12. org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
      13. org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      13 frames
    3. Java RT
      DocumentBuilder.parse
      1. javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
      1 frame
    4. Unknown
      MySampleCode.main
      1. MySampleCode.main(MySampleCode.java:36)
      1 frame