You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (Jira)" <ji...@apache.org> on 2021/04/25 10:28:00 UTC

[jira] [Created] (PDFBOX-5177) Optimize memory footprint of PDFObjectStreamParser

Andreas Lehmkühler created PDFBOX-5177:
------------------------------------------

             Summary: Optimize memory footprint of PDFObjectStreamParser
                 Key: PDFBOX-5177
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5177
             Project: PDFBox
          Issue Type: Improvement
          Components: Parsing
    Affects Versions: 2.0.23, 3.0.0 PDFBox
            Reporter: Andreas Lehmkühler
            Assignee: Andreas Lehmkühler
             Fix For: 2.0.24, 3.0.0 PDFBox


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org