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

Tilman Hausherr commented on PDFBOX-3006:
-----------------------------------------

Are you using the latest version? I made a recent change in PDFBOX-3002, 
related to TIKA-1737.

> 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