You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Hee Jeong Kim (JIRA)" <ji...@apache.org> on 2018/08/07 05:51:00 UTC

[jira] [Created] (PDFBOX-4288) needless adding while parsing dictionary objects

Hee Jeong Kim created PDFBOX-4288:
-------------------------------------

             Summary: needless adding while parsing dictionary objects
                 Key: PDFBOX-4288
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4288
             Project: PDFBox
          Issue Type: Bug
          Components: Parsing
    Affects Versions: 2.0.11
            Reporter: Hee Jeong Kim
         Attachments: needless_adding_while_parsing_dictionary_objects.patch

Hi, It seems like unnecessary objects(COSNull, COSFloat..) are also added to 'toBeParsedList' while parsing dictionary objects and this can impact on performance.

You can download a file causing out of memory exception while parsing dictionary objects below,
https://turnernbahangtime.files.wordpress.com/2017/10/2017-18-official-nba-guide_v2.pdf

and please check the attached patch that avoids unnecessary adding operations.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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