[richfaces-issues] [JBoss JIRA] Created: (RF-7019) Memory leak with org.ajax4jsf.Filter + large OutputStream

Felipe Jaekel (JIRA) jira-events at lists.jboss.org
Tue May 5 10:09:46 EDT 2009


Memory leak with org.ajax4jsf.Filter + large OutputStream
---------------------------------------------------------

                 Key: RF-7019
                 URL: https://jira.jboss.org/jira/browse/RF-7019
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.0, 3.2.2
         Environment: JRE 6 update 7
            Reporter: Felipe Jaekel


When serving large files for download, lots of memory are used. This constantly
leads to out of memory errors, requiring a server restart to release the used
memory. (http://forums.sun.com/thread.jspa?threadID=5379231)

The attached project has been tested with RichFaces 3.2.2 SR1, 3.3.0 GA, JSF RI 1.2_5 JSF RI 1.2_12 at Tomcat 6.0.18 and Glassfish 2.0.

If I comment the org.ajax4jsf.Filter declaration at web.xml, the problem doesn't happen.

As a workaround, I'm using a Servlet for file download.

-- 
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