Details
Description
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)
Attachments
Attachments
Issue Links
- is related to
-
PDFBOX-2899 Text not rendered in mode 7 (2)
- Closed
- relates to
-
PDFBOX-1462 Use file backed buffer for FlateFilter?
- Closed