On 26/03/2010 11:52, Timo Meinen wrote:
> Hi,
> 
> I would like to know, if there is a shutdown-hook for Tomcat
> available. Or what the prefered way is, to correctly unload drivers
> like JDBC drivers.
> 
> Unloading the drivers seems to be important for us, because after
> redeploying the web appliction to often during continuous integration
> leads to a OutOfMemory-Errors. And although Tomcat tells me, that it
> forces the driver to unload, I can see a significant amount of memory
> allocated additionally each time the webapp is redeployed.

Tomcat has unloaded the driver. That won't be causing your memory leak.

The memory leak prevention doesn't detect every possible cause of a
leak. Get yourself a profiler (I use YourKit because they give open
source committers free licenses) and follow these steps:

http://markmail.org/message/fcbvwapt6afyndxn

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to