You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ryan Boettcher (JIRA)" <ji...@apache.org> on 2014/11/17 22:30:34 UTC

[jira] [Updated] (VFS-142) Clear ThreadData after all streams are closed, fixes a memory leak

     [ https://issues.apache.org/jira/browse/VFS-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Boettcher updated VFS-142:
-------------------------------
    Attachment: threadlocal_setNull_vs_remove_bug.patch

Here's a patch against a fresh checkout for what I was talking about.

> Clear ThreadData after all streams are closed, fixes a memory leak
> ------------------------------------------------------------------
>
>                 Key: VFS-142
>                 URL: https://issues.apache.org/jira/browse/VFS-142
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Adam Heath
>         Attachments: fix_ThreadData-clear.patch, threadlocal_setNull_vs_remove_bug.patch
>
>
> After all streams are closed in FileContentThreadData, clear the ThreadLocal.



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