[
https://issues.jboss.org/browse/RF-8275?page=com.atlassian.jira.plugin.sy...
]
Peter Chuang commented on RF-8275:
----------------------------------
I am running off of 3.3.3 Final, and still seeing this issue.
Memory leak with extended data table after repeated rerender
------------------------------------------------------------
Key: RF-8275
URL:
https://issues.jboss.org/browse/RF-8275
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-tables
Affects Versions: 3.3.2.SR1
Environment: Windows xp and AIX, Firefox and Internet Explorer 7
Reporter: Manuele Piastra
Assignee: Andrey Markhel
Priority: Critical
Labels: extended_datatable, memory_leak, rerender
Fix For: 3.3.3.CR1
Attachments: index.xhtml
After each rerender of the extended data table the memory allocated to the process
iexplorer.exe keeps growing and it is never released. The same test with simple datatable
doesn't show this problem.
Snippet code used for the test
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<jsp:root
xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j">
<html>
<head>
<title>RichFaces DataTable</title>
</head>
<body>
<f:view>
<h:form>
<a4j:jsFunction name="rerenderTable"
reRender="finderList"></a4j:jsFunction>
<rich:dataTable value="#{provaTableBean.list}" var="elem"
id="finderList" width="200px" >
<rich:column id="id" width="50" label="Id">
<f:facet name="header">
<h:outputText value="Id" />
</f:facet>
<h:outputText value="#{elem.id}" />
</rich:column>
<rich:column id="nome" width="150" label="Nome">
<f:facet name="header">
<h:outputText value="Nome" />
</f:facet>
<h:outputText value="#{elem.nome}" />
</rich:column>
</rich:dataTable>
</h:form>
</f:view>
<script>
setInterval(rerenderTable, 10000);
</script>
</body>
</html>
</jsp:root>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira