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

Andreas Lehmkühler commented on PDFBOX-4288:
--------------------------------------------

I've looked that many time at those parts of the code and never saw that, spot 
on

> 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
>            Assignee: Tilman Hausherr
>            Priority: Minor
>              Labels: optimization
>             Fix For: 2.0.12, 3.0.0 PDFBox
>
>         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