[ https://issues.apache.org/jira/browse/PDFBOX-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14169726#comment-14169726 ]
Tilman Hausherr commented on PDFBOX-1462: ----------------------------------------- There's one risk with this: it won't work in an applet. However Flatefilter has improved since you created the issue, see rev 1608537 and 1133726. Do you have a file that doesn't render (or whatever) with the standard settings? > Use file backed buffer for FlateFilter? > --------------------------------------- > > Key: PDFBOX-1462 > URL: https://issues.apache.org/jira/browse/PDFBOX-1462 > Project: PDFBox > Issue Type: New Feature > Components: Parsing > Affects Versions: 1.7.1, 2.0.0 > Reporter: Edoardo Causarano > Fix For: 2.0.0 > > > org.apache.pdfbox.filter.FlateFilter#decompress can cause OOM (depending on > the size of the document and configured heap of course.) Consider using > something like > http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/io/FileBackedOutputStream.html > to constraint memory pressure. > Best, > Edoardo -- This message was sent by Atlassian JIRA (v6.3.4#6332)