2009/1/10 Caldarale, Charles R <chuck.caldar...@unisys.com>: >> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] >> Subject: Memory Leak(?) causing tomcat to store 57610801 >> tomcat objects in ONE request >> >> HOW can it actually happen that a response object >> contains 8.000.000 mime headers? > > Must be a very productive servlet... > > Sounds like you've got a rather ugly (and probably infinite) loop in your > webapp. Might want to put a trap in org.apache.tomcat.util.http.MimeHeaders > to catch generation of an excessive number of header fields. >
I agree with Charles. But, to note: the count of MimeHeaderField instances mentioned in the message is of the same range as the count of Cookie instances. Thus I think that all those header fields are derivatives of the enormous count of cookies that your application created. I remembered about the following incident from two months ago, when programming error caused a session to be reestablished many times in a row: http://www.nabble.com/multiple-Set-Cookie-headers-in-initial-http-response-td20437761.html ("multiple Set-Cookie headers in initial http response"). Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org