You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/07/30 18:05:20 UTC

[jira] [Commented] (PDFBOX-3442) OOM for single page pdf file

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

Tilman Hausherr commented on PDFBOX-3442:
-----------------------------------------

The font is a direct object instead of an indirect object, which is unusual. Problem is that in the textPositions list of PDFTextStripper, each element gets a PDFont, so this would be a different PDFont object regardless that it is the same.

This was done in PDFBOX-2370. Maybe to make sure that indirect objects would be cached document-wide.

> OOM for single page pdf file
> ----------------------------
>
>                 Key: PDFBOX-3442
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3442
>             Project: PDFBox
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Priority: Minor
>
> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org