You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/10/22 08:52:34 UTC

[jira] [Closed] (PDFBOX-1462) Use file backed buffer for FlateFilter?

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

Tilman Hausherr closed PDFBOX-1462.
-----------------------------------
    Resolution: Won't Fix

Yes, I'm closing this
- because of what you mention
- because of what I mention
- because the user has not provided a test file that might give new inspiration / motivation act and see the differences in memory usage.

> 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)