You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/05/04 15:12:08 UTC

DO NOT REPLY [Bug 47146] New: Memory leak with large OutputStream when using JSF

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: fkjaekel@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47146] Memory leak with large OutputStream when using JSF

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47146





--- Comment #2 from Mark Thomas <ma...@apache.org>  2009-05-05 12:43:35 PST ---
No problem. Thanks for letting us know and resolving the issue.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47146] Memory leak with large OutputStream when using JSF

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47146


britt fitch <br...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |britt.fitch@gmail.com




-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47146] Memory leak with large OutputStream when using JSF

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47146


Felipe Jaekel <fk...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Felipe Jaekel <fk...@gmail.com>  2009-05-05 07:20:46 PST ---
This isn't a Tomcat problem. Sorry.

After some exhaustive tests I found that the problem is with RichFaces
org.ajax4jsf.Filter, which is mapped to the Faces Servlet.

https://jira.jboss.org/jira/browse/RF-7019

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org