java.lang.OutOfMemoryError: Java heap space

tika-user | Allison, Timothy B. | 1 year 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. 0

    RE: Preventing OutOfMemory exception

    tika-user | 1 year ago | Allison, Timothy B.
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    RE: Preventing OutOfMemory exception

    tika-user | 1 year ago | Allison, Timothy B.
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    RE: Preventing OutOfMemory exception

    tika-user | 1 year ago | Allison, Timothy B.
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RE: Preventing OutOfMemory exception

    tika-user | 1 year ago | Allison, Timothy B.
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    RE: Preventing OutOfMemory exception

    tika-user | 1 year ago | Allison, Timothy B.
    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.lang.StringBuffer.ensureCapacityImpl()
    2. Java RT
      StringWriter.write
      1. java.lang.StringBuffer.ensureCapacityImpl(StringBuffer.java:338)
      2. java.lang.StringBuffer.append(StringBuffer.java:114)
      3. java.io.StringWriter.write(StringWriter.java:106)
      3 frames
    3. Apache Tika core
      ContentHandlerDecorator.characters
      1. org.apache.tika.sax.ToTextContentHandler.characters(ToTextContentHandler.java:93)
      2. org.apache.tika.sax.ContentHandlerDecorator.characters(ContentHandlerDecorator.java:146)
      3. org.apache.tika.sax.WriteOutContentHandler.characters(WriteOutContentHandler.java:136)
      4. org.apache.tika.sax.ContentHandlerDecorator.characters(ContentHandlerDecorator.java:146)
      5. org.apache.tika.sax.xpath.MatchingContentHandler.characters(MatchingContentHandler.java:85)
      6. org.apache.tika.sax.ContentHandlerDecorator.characters(ContentHandlerDecorator.java:146)
      7. org.apache.tika.sax.ContentHandlerDecorator.characters(ContentHandlerDecorator.java:146)
      8. org.apache.tika.sax.SecureContentHandler.characters(SecureContentHandler.java:270)
      9. org.apache.tika.sax.ContentHandlerDecorator.characters(ContentHandlerDecorator.java:146)
      10. org.apache.tika.sax.ContentHandlerDecorator.characters(ContentHandlerDecorator.java:146)
      11. org.apache.tika.sax.ContentHandlerDecorator.characters(ContentHandlerDecorator.java:146)
      12. org.apache.tika.sax.TextContentHandler.characters(TextContentHandler.java:55)
      13. org.apache.tika.sax.TeeContentHandler.characters(TeeContentHandler.java:102)
      14. org.apache.tika.sax.ContentHandlerDecorator.characters(ContentHandlerDecorator.java:146)
      15. org.apache.tika.sax.ContentHandlerDecorator.characters(ContentHandlerDecorator.java:146)
      15 frames
    4. Xerces2-j
      SAXParserImpl.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.characters(Unknown Source)
      2. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(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)
      10. org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
      10 frames
    5. Java RT
      SAXParser.parse
      1. javax.xml.parsers.SAXParser.parse(Unknown Source)
      1 frame
    6. Apache Tika parsers
      XMLParser.parse
      1. org.apache.tika.parser.xml.XMLParser.parse(XMLParser.java:72)
      1 frame
    7. Apache Tika core
      AutoDetectParser.parse
      1. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:256)
      2. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:256)
      3. org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
      4. org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:136)
      4 frames