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

Reduce RAM requirement of COSOutputStream

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.11
    • Fix Version/s: 2.0.12, 3.0.0 PDFBox
    • Component/s: Writing
    • Labels:
      None
    • Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: