java.lang.OutOfMemoryError: Java heap space

Icesoft | alexbal | 4 years 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:ICEpdf consumes too much memory when extracting text

    Icesoft | 4 years ago | alexbal
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    ICEpdf consumes too much memory when extracting text

    Icesoft | 4 years ago | alexbal
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at sun.awt.geom.AreaOp.pruneEdges()
    2. Java RT
      Area.<init>
      1. sun.awt.geom.AreaOp.pruneEdges(AreaOp.java:343)
      2. sun.awt.geom.AreaOp.calculate(AreaOp.java:141)
      3. java.awt.geom.Area.pathToCurves(Area.java:177)
      4. java.awt.geom.Area.<init>(Area.java:108)
      4 frames
    3. org.icepdf.core
      Document.getPageText
      1. org.icepdf.core.pobjects.graphics.GraphicsState.setClip(GraphicsState.java:581)
      2. org.icepdf.core.util.ContentParser.parseText(ContentParser.java:1431)
      3. org.icepdf.core.util.ContentParser.parseTextBlocks(ContentParser.java:881)
      4. org.icepdf.core.pobjects.Page.getText(Page.java:1421)
      5. org.icepdf.core.pobjects.Document.getPageText(Document.java:1098)
      5 frames
    4. Unknown
      ReadPDF.main
      1. ReadPDF.main(ReadPDF.java:24)
      1 frame