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

Ryan Boettcher commented on VFS-142:
------------------------------------

I see, in our case we are explicitly closing all the FileContent instances so 
this fix should work for us, thanks!

> 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
>            Assignee: Bernd Eckenfels
>             Fix For: 2.1
>
>         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)

Reply via email to