[richfaces-issues] [JBoss JIRA] Created: (RF-8275) Memory leak with extended data table after repeated rerender

Manuele Piastra (JIRA) jira-events at lists.jboss.org
Wed Jan 20 05:39:47 EST 2010


Memory leak with extended data table after repeated rerender
------------------------------------------------------------

                 Key: RF-8275
                 URL: https://jira.jboss.org/jira/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
            Priority: Critical


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 contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list