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

Optimize memory footprint of PDFObjectStreamParser

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      PDFObjectStreamParser uses the number of objects /N from the dictionary to initialize the map for object numbers/offsets (3.0.0) or list of objects (2.0-branch), but sometimes the value is too big or the stream can't be read, This may lead to a memory issue if resources are limited.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lehmi Andreas Lehmkühler
            lehmi Andreas Lehmkühler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment