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

Tilman Hausherr edited comment on PDFBOX-3711 at 3/8/17 6:06 PM:
-----------------------------------------------------------------

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. And attach the PDF files if possible, and if 
yes, mention what -Xmx settings you use.


was (Author: tilman):
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to