tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51195] "Find leaks" reports a false positive memory/classloader leak
Date Tue, 24 May 2011 11:09:57 GMT

--- Comment #6 from Joern Huxhorn <> 2011-05-24 11:09:57 UTC
I disagree.

The cleanup performed in the code is merely to prevent a *false* memory leak
warning. A real leak does, in fact, not exist. This is the reason why I put it
directly before the execution of System.gc() in the "Find Leaks" function.

Since "Find Leaks" isn't supposed to be executed in a production environment, I
don't think that any further optimization (suggestion in 2.) makes sense. It
would probably make sense if this code would indeed be added to the normal
undeploy procedure but I really don't think that this is necessary or

The idea is to prevent false memory leak warnings so that real ones aren't
ignored if they occur.
See ;)

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message