myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Zhemaituk (JIRA)" <>
Subject [jira] [Created] (MYFACES-3739) @ResourceDependency annotation can cause Memory leak (UIViewRoot grows)
Date Sun, 23 Jun 2013 20:54:20 GMT
Andrei Zhemaituk created MYFACES-3739:

             Summary: @ResourceDependency annotation can cause Memory leak (UIViewRoot grows)
                 Key: MYFACES-3739
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.1.12
         Environment: myfaces 2.1.12
Tomcat 6.0.36
            Reporter: Andrei Zhemaituk

The issue was initially reported against RichFaces:
But it does not look like it is anything wrong with RichFaces here.
The issue is reproducible with pure myfaces when partial state saving is turned OFF e.g. with
the following code (every second click on "Toggle" button causes new UIOutput element to be
inserted to the view tree):

    <h:commandButton value="Toggle" action="#{bean.togglePanelShown}">
      <f:ajax execute="@this" render="group"/>
    <h:panelGroup id="group">
      <c:if test="#{bean.panelShown}">
        <!-- Any component with @ResourceDependency annotation. -->

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message