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) [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | ------- Additional Comments From [EMAIL PROTECTED] 2004-10-29 09:57 ------- Hi, it would be very nice if you could explain what You are meaning with the words "quite evil". The given example is not agains the spec, I can send You the whole WAR-File (4k only) where You can reproduce the problem in 2 minutes. I copied the example from 2 JSP books, I only modified it to reproduce our problem. The memory is not freed if we are creating a big body content and after 100 user 1 GB of data is in use without any change to free it. Is it not allowed by the spec to produce a big body content (?) or what is the problem ? The gc commands and session.invalide() commands are only added for the test. Again: The problem are only the statements: Instead of the println() You could use also something else (maybe a tag which creates the output). <html> <p>BEFORE <p> <dbs:SelectMemTest> <p>inner before <%=amount%> <% for (int i = 0; i < ii; i++) { out.println("<br><p>"+i+" and next"); } %> <p>inner after </dbs:SelectMemTest> <p>after<p> The rest is only for analysing help. Thank You for the amount of time You are spending and Your helpful comments so far. Klaus --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]