DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=31914>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31914 Memory leak when using Jsp tags (JspWriter) ------- Additional Comments From [EMAIL PROTECTED] 2004-10-28 18:30 ------- We found the lead in our production system under unix/solaris after migrating vom tomcat 3 to tomcat 4. Its also reproducing unter diff. windows systems. We are using JAVA V. 1.4.2_04 and planning to migrate to 1.4.2_06. We are analysing the problem with JProfiler which give us the hint that it comes from the handling of the BodyContent/JspWriter. The JspWriter.println() holds the data. We are writting very big data for big reports! With the given examples its easy to reproduce ! The memory is freed if we change the coding from "pageContext.getOut()" into "pageContext.getResponse().getWriter()", but this changes the order of the response html (because the BodyContent is written immedately) and we use sub tags. Hopefully this helps. Klaus --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]