You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Adam Heath (JIRA)" <ji...@apache.org> on 2007/05/14 16:16:16 UTC

[jira] Updated: (VFS-143) Fix memory leak in DelegateFileObject in it's handling of listeners

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

Adam Heath updated VFS-143:
---------------------------

    Attachment: fix_DelegateFile-listener-leak.patch

Against svn 501759.

> Fix memory leak in DelegateFileObject in it's handling of listeners
> -------------------------------------------------------------------
>
>                 Key: VFS-143
>                 URL: https://issues.apache.org/jira/browse/VFS-143
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Adam Heath
>         Attachments: fix_DelegateFile-listener-leak.patch
>
>
> DelegateFileObject adds itself as a listener to the wrapped file.  This adds a *hard* reference to the DelegateFileObject, which prevents it from being garbaged collected.  So, create a WeakRefFileListener proxy, to solve the problem.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org