pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PDFBOX-1350) OutOfMemory on reading a special PDF
Date Sun, 01 Jun 2014 13:02:01 GMT

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

Tilman Hausherr updated PDFBOX-1350:
------------------------------------

    Affects Version/s: 2.0.0

> OutOfMemory on reading a special PDF
> ------------------------------------
>
>                 Key: PDFBOX-1350
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1350
>             Project: PDFBox
>          Issue Type: Bug
>    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)

Mime
View raw message