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 2015/10/05 23:20:26 UTC
[jira] [Commented] (PDFBOX-3006) Resource leak in 2.0-SNAPSHOT in
PDDocument.load(File...)
[ 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org