You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2012/06/15 15:43:42 UTC

[jira] [Commented] (TAP5-1956) Tapestry.ZoneManager creates memory leaks

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

Jochen Kemnade commented on TAP5-1956:
--------------------------------------

The same leakage pattern can also be observed with other Tapestry JS classes such as Tapestry.FormEventManager, Tapestry.FieldEventManager, Tapestry.ErrorPopup and others. The clean-up hook approach could be used to fix them all.
                
> Tapestry.ZoneManager creates memory leaks
> -----------------------------------------
>
>                 Key: TAP5-1956
>                 URL: https://issues.apache.org/jira/browse/TAP5-1956
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3.3
>            Reporter: Jochen Kemnade
>              Labels: dom, memory_leak, patch, zone
>         Attachments: 0001-Fix-memory-leaks-with-Tapestry.ZoneManager.patch
>
>
> The Tapestry.ZoneManager creates a circular reference between the DOM tree and the ZoneManager JS object. This circle is not broken when the element is removed from the DOM, so it will not be cleaned up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira