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

Tim Allison commented on PDFBOX-3006:
-------------------------------------

My fault for not checking rev before reporting...

The run is about 1/4 of the way done. I'll just manually restart after too many 
files open exception for now.

Thank you for the fix!  It matters :)

> Resource leak in 2.0-SNAPSHOT in PDDocument.load(File...)
> ---------------------------------------------------------
>
>                 Key: PDFBOX-3006
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3006
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing, PDModel
>            Reporter: Tim Allison
>
> If a user calls PDDocument#load(File...) around line 907 in trunk and there's 
> a parse exception, the {{raFile}} is never closed.  This emerged as a actual 
> issue while running tika-batch to support PDFBOX-2252 and then via code 
> review.
> As a side note, I only looked very quickly, but it isn't clear to me where 
> {{raFile}} is closed under normal circumstances.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to