[
https://issues.jboss.org/browse/RF-13025?page=com.atlassian.jira.plugin.s...
]
Andrey Zhemoytuk edited comment on RF-13025 at 6/14/13 9:41 AM:
----------------------------------------------------------------
It seems that the issue is not connected with RichFaces library but with how jsf
implementations process @ResourceDependency annotations.
The issue is reproducible with pure myfaces (with mojarra too) when partial state saving
is OFF e.g. with the following code:
{code:xml}
<h:form>
<h:commandButton value="Toggle"
action="#{bean.togglePanelShown}">
<f:ajax execute="@this" render="group"/>
</h:commandButton>
<h:panelGroup id="group">
<c:if test="#{bean.panelShown}">
<!-- Any component with @ResourceDependency annotation. -->
<custom:componentWithResourceDependency/>
</c:if>
</h:panelGroup>
</h:form>
{code}
was (Author: a.zhemoytuk):
It seems that the issue is not connected with RichFaces library but with how jsf
implementations process @ResourceDependency annotations.
The issue is reproducible with pure myfaces (with mojarra too) when partial state saving
is OFF e.g. with the following code:
<h:form>
<h:commandButton value="Toggle"
action="#{bean.togglePanelShown}">
<f:ajax execute="@this" render="group"/>
</h:commandButton>
<h:panelGroup id="group">
<c:if test="#{bean.panelShown}">
<!-- Any component with @ResourceDependency annotation. -->
<custom:componentWithResourceDependency/>
</c:if>
</h:panelGroup>
</h:form>
MemoryLeak: SerializedViewCollection filled with
org.richfaces.renderkit.ResourceLibraryRenderer
------------------------------------------------------------------------------------------------
Key: RF-13025
URL:
https://issues.jboss.org/browse/RF-13025
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: core
Affects Versions: 4.2.2.Final, 4.3.2
Environment: Richfaces 4.2.2 (happens also with Richfaces 4.3.2)
myfaces 2.1.10 (happens also with 2.1.11)
Tomcat 6.0.36
Reporter: Michael Heinen
Fix For: 5.0.0.Alpha2
Attachments: Dump20Clicks.jpg, Dump2Clicks.jpg, zSessionLeak.war
The SerializedViewCollection grows in my application with every ajax call.
A new reference to a "org.richfaces.renderkit.ResourceLibraryRenderer" is added
each time.
This happens only if the page contains a <a4j:ajax> tag.
Without any <a4j:ajax> tag the SerializedViewCollection doesn't grow!
A sample application will be attached as well as screenshots with the heap dumps.
The Heapdumps are also available.
--
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:
http://www.atlassian.com/software/jira