-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jon,
Jon Miller wrote: > Is anyone running into issues with memory leaks occuring whenever a > webapp is redeployed? This is probably not Tomcat's fault.... it's Java's fault. When Tomcat reloads a webapp, it discards the ClassLoader (or ClassLoaders) that were being used by the old instance. These ClassLoader objects contain information about the (duh) Classes that were loaded during your old instance's activity. Last time I checked, Class objects basically never get GC'd, so any static data stays around forever. You have to shut down the VM in order to free that memory. This is one reason that I bounce my VM whenever I release new app versions to production. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFbFVj9CaO5/Lv0PARAiRrAJsFfoFlkoMPZLu9jtaaT3xvWCX8FQCeM7/k XnEmBvVmXc8wrUWbjmnmvpA= =xjI3 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]