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=43925>. 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=43925 Summary: org.apache.jasper.runtime.BodyContentImpl causing huge memory allocations Product: Tomcat 5 Version: 5.5.24 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] BodyContentImpl buffers all output from a custom tag ready to be written when the tag execution ends. However, the way in which it grows this buffer is extremely inefficient and has two undesirable effects: - garbage collection is triggered very frequently to tidy up the waste. - CPU load ramps up as large, unnecessary array copies take place. All that's needed is a more intelligent buffer-management algorithm. I have rewritten this class and can forward it if that would be useful (can't see a way of attaching it here). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]