[ 
https://issues.apache.org/jira/browse/PDFBOX-4288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16571899#comment-16571899
 ] 

ASF subversion and git services commented on PDFBOX-4288:
---------------------------------------------------------

Commit 1837605 from [email protected] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1837605 ]

PDFBOX-4288: don't add objects that are already fully parsed and are ignored 
later, as suggested by Hee Jeong Kim

> 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
>            Priority: Minor
>              Labels: optimization
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to