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

Improve memory consumption of PDAbstractAppearanceHandler

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.16, 3.0.0 PDFBox
    • Fix Version/s: 2.0.17, 3.0.0 PDFBox
    • Component/s: PDModel
    • Labels:

      Description

      PDAbstractAppearanceHandler calls new COSStream(), this has a huge memory footprint (PDFBOX-3868 and PDFBOX-3852). We'd need to find a way to pass the document, or the document scratch file, or there will be trouble for files with many annotations, e.g. a long scientific document with many footnotes.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tilman Tilman Hausherr
                Reporter:
                msahyoun Maruan Sahyoun
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: