[ https://issues.apache.org/jira/browse/PDFBOX-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr closed PDFBOX-3407. ----------------------------------- Resolution: Won't Fix > PdfRenderer throw OutOfMemory for some PDF file > ----------------------------------------------- > > Key: PDFBOX-3407 > URL: https://issues.apache.org/jira/browse/PDFBOX-3407 > Project: PDFBox > Issue Type: Bug > Affects Versions: 2.0.2 > Environment: Windows 10. Java 1.8.0_u66 with options -Xmx1024m > -Xms256m > Reporter: Kevin Senechal > Attachments: A1 REZ.pdf > > > {code} > java.lang.OutOfMemoryError: Java heap space > at java.awt.image.DataBufferByte.<init>(DataBufferByte.java:92) > ~[na:1.8.0_66] > at java.awt.image.Raster.createBandedRaster(Raster.java:401) > ~[na:1.8.0_66] > at java.awt.image.Raster.createBandedRaster(Raster.java:324) > ~[na:1.8.0_66] > at > org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.getRGBImage(SampledImageReader.java:131) > ~[pdfbox-2.0.2.jar:2.0.2] > at > org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.getImage(PDImageXObject.java:340) > ~[pdfbox-2.0.2.jar:2.0.2] > at > org.apache.pdfbox.rendering.PageDrawer.drawImage(PageDrawer.java:793) > ~[pdfbox-2.0.2.jar:2.0.2] > at > org.apache.pdfbox.contentstream.operator.graphics.DrawObject.process(DrawObject.java:62) > ~[pdfbox-2.0.2.jar:2.0.2] > at > org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815) > ~[pdfbox-2.0.2.jar:2.0.2] > at > org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472) > ~[pdfbox-2.0.2.jar:2.0.2] > at > org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:446) > ~[pdfbox-2.0.2.jar:2.0.2] > at > org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149) > ~[pdfbox-2.0.2.jar:2.0.2] > at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:189) > ~[pdfbox-2.0.2.jar:2.0.2] > at > org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:208) > ~[pdfbox-2.0.2.jar:2.0.2] > at > org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:139) > ~[pdfbox-2.0.2.jar:2.0.2] > at > org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:94) > ~[pdfbox-2.0.2.jar:2.0.2] > {code} > If a workaround exists, can you let me know what to do? Thank you! -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org