You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Ghenadii Batalski (JIRA)" <ji...@apache.org> on 2019/08/13 11:47:00 UTC
[jira] [Commented] (PDFBOX-4080) Improve memory consumption of
PDAbstractAppearanceHandler
[ https://issues.apache.org/jira/browse/PDFBOX-4080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16906110#comment-16906110 ]
Ghenadii Batalski commented on PDFBOX-4080:
-------------------------------------------
Hello all, i've done a very naive improvement. But it helped me at leaset to solve the problem with the PDAnnotationLink. Please take a look at [https://github.com/apache/pdfbox/pull/72]
> Improve memory consumption of PDAbstractAppearanceHandler
> ---------------------------------------------------------
>
> Key: PDFBOX-4080
> URL: https://issues.apache.org/jira/browse/PDFBOX-4080
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 3.0.0 PDFBox
> Reporter: Maruan Sahyoun
> Assignee: Maruan Sahyoun
> Priority: Major
> Labels: Annotations
>
> PDAbstractAppearanceHandler calls new COSStream(), this has a huge memory footprint (PDFBOX-3868 and PDFBOX-3852). We'd need to find a way to pass the document, or the document scratch file, or there will be trouble for files with many annotations, e.g. a long scientific document with many footnotes.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org