[
https://issues.apache.org/jira/browse/PDFBOX-3442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15410609#comment-15410609
]
Tilman Hausherr commented on PDFBOX-3442:
-----------------------------------------
OK, I'll commit that... I won't do anything for the other types for now,
because
- XObjects and Patterns and Shadings 4-7 are streams, which are always indirect
- the other types are small
- /ICCBased could have have some size
- but only PDFont has the risk described in my first comment, i.e. is kept in a
list.
> OOM for single page pdf file
> ----------------------------
>
> Key: PDFBOX-3442
> URL: https://issues.apache.org/jira/browse/PDFBOX-3442
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 2.0.2, 2.0.3, 2.1.0
> Reporter: Tim Allison
> Priority: Minor
> Fix For: 2.0.3, 2.1.0
>
> Attachments: res.diff, res2.diff, res3.diff
>
>
> On TIKA-2045, a user posted a single page document that leads to OOM with
> -Xmx1g. I confirmed this with PDFBox's ExtractText.
> Might be a memory leak with the fonts? See
> [this|https://issues.apache.org/jira/browse/TIKA-2045?focusedCommentId=15399583&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15399583]
> for some diagnostics I did.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]