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 2017/03/08 18:06:38 UTC

[jira] [Commented] (PDFBOX-3711) OutOfMemomy error when using PDFBox 2.0.2

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

Tilman Hausherr commented on PDFBOX-3711:
-----------------------------------------

https://pdfbox.apache.org/support.html
{quote}
And please DON’T
...
Create issues about obsolete PDFBox versions
{quote}
So please retry with 2.0.4. Also please close the source documents AFTER closing the destination document. Try also loading the files with a scratch file, which will use less memory.

> OutOfMemomy error when using PDFBox 2.0.2
> -----------------------------------------
>
>                 Key: PDFBOX-3711
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3711
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>            Reporter: smita das
>         Attachments: IssueDetails.txt
>
>
> We are using the code snippet which is  attached herewith(IssueDetails.txt),  which is causing very frequent OutOfMemory in Production where a large volume of documents are processed each day.
> We are using pdfbox-2.0.2.jar
> We are seeing the following warning in our logs:
> COSDocument W org.apache.pdfbox.cos.COSDocument finalize Warning: You did not close a PDF Document
> Heap dump analysis points PDFBox as amajor suspect for memory leak.
> The heap dump snipped is provided in the file attached(IssueDetails.txt).
> Please provide some help on this.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org