tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TIKA-567) Temporary file leak in TikaInputStream
Date Wed, 19 Jan 2011 19:02:50 GMT

    [ https://issues.apache.org/jira/browse/TIKA-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983841#action_12983841
] 

Jukka Zitting commented on TIKA-567:
------------------------------------

Can you check if files stay around also after you terminate the JVM? If not, then they're
not really leaking. AFAIUI the java.awt.Font class that creates these files uses them to back
a static internal font cache, so they'll normally only get removed when the JVM exits.

> Temporary file leak in TikaInputStream
> --------------------------------------
>
>                 Key: TIKA-567
>                 URL: https://issues.apache.org/jira/browse/TIKA-567
>             Project: Tika
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 0.8
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>             Fix For: 0.9
>
>
> The TikaInputStream.get(InputStream) method can end up leaking temporary files in cases
like the Detector classes that will not close the returned stream.
> There should be a mechanism to signal that a potential TikaInputStream wrapper will no
longer be used even if the underlying stream should not be closed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message