[ 
https://issues.apache.org/jira/browse/PDFBOX-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Hewson closed PDFBOX-1350.
-------------------------------

    Resolution: Not a Problem

> OutOfMemory on reading FlateFilter images in PDF
> ------------------------------------------------
>
>                 Key: PDFBOX-1350
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1350
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing, Rendering
>    Affects Versions: 1.7.0, 2.0.0
>            Reporter: philip huang
>         Attachments: 40376536.PDF
>
>
> I had set JAVA VM parameter -Xmx1048m
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
>       at 
> org.apache.pdfbox.io.RandomAccessBuffer.expandBuffer(RandomAccessBuffer.java:151)
>       at 
> org.apache.pdfbox.io.RandomAccessBuffer.write(RandomAccessBuffer.java:131)
>       at 
> org.apache.pdfbox.io.RandomAccessFileOutputStream.write(RandomAccessFileOutputStream.java:108)
>       at java.io.OutputStream.write(OutputStream.java:58)
>       at org.apache.pdfbox.filter.FlateFilter.decode(FlateFilter.java:129)
>       at org.apache.pdfbox.cos.COSStream.doDecode(COSStream.java:279)
>       at org.apache.pdfbox.cos.COSStream.doDecode(COSStream.java:221)
>       at 
> org.apache.pdfbox.cos.COSStream.getUnfilteredStream(COSStream.java:156)
>       at 
> org.apache.pdfbox.pdmodel.common.PDStream.createInputStream(PDStream.java:214)
>       at 
> org.apache.pdfbox.pdmodel.common.PDStream.getByteArray(PDStream.java:468)
>       at 
> org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap.getRGBImage(PDPixelMap.java:183)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to