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

Reduce RAM requirement of COSOutputStream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.11
    • 2.0.12, 3.0.0 PDFBox
    • Writing
    • None
    • Patch

    Description

      COSOutputStream uses a byte array to buffer data prior to filtering. This is bad. As commented in COSOutputStream, it should be updated to use a scratch file buffer instead.

      This patch does that.

      Attachments

        1. pdfbox-cosstream.patch
          6 kB
          Jesse Long
        2. pdfbox-4260-2.patch
          7 kB
          Jesse Long

        Activity

          People

            tilman Tilman Hausherr
            jesselong Jesse Long
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: