Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1462

Use file backed buffer for FlateFilter?

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.7.1, 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Parsing
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ecausarano Edoardo Causarano
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: