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 2013/10/19 11:58:59 UTC

[Bug 55674] ThreadLocal memory leak clean-up causes huge log

https://issues.apache.org/bugzilla/show_bug.cgi?id=55674

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
The attribute names and values are logged to assist with the identification of
the cause of the memory leak.

Memory leaks are logged at SEVERE as they represent a serious bug that could
eventually lead to an OOME. Tomcat's leak detection and prevention code should
reduce the chances of an OOME but it may not eliminate it.

Since neither the severity level nor the use of toString() is going to change,
I am resolving this as WONTFIX.

That said, there is a long standing enhancement request (bug 50715) to modify
the leak detection code so the warnings are skipped / logged at a lower level
when the leaks don't matter (e.g. when the JVM is shutting down).

Some recent work on a unrelated issue means I have some useful info to add to
that bug so I'll do that shortly. I'll add 50715 to my TODO list as the
features it requires are likely to be useful elsewhere.

-- 
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