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

smita das commented on PDFBOX-3711:
-----------------------------------

thanks.
Would using PDDocument.load(file, MemoryUsageSetting.setupTempFileOnly()) help 
in resolving the memory issue ?

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to