https://issues.apache.org/bugzilla/show_bug.cgi?id=47146

           Summary: Memory leak with large OutputStream when using JSF
           Product: Tomcat 6
           Version: 6.0.18
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P4
         Component: Servlet & JSP API
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: fkjae...@gmail.com


Created an attachment (id=23605)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23605)
Sample codo to reproduce the problem

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 code has been tested with JSF RI 1.2_12. The problem described
doesn't happen with Glassfish V2 UR2.

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

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to