: Tomcat Users List
Objet : Re: RE : memory-leaks in servlets, tool for tracing ?
Laurent,
What about classes with static method and/or static attributes ?
Are they deleted from the old webapp ?
I don't believe that the VM ever releases resources taken up by Class
objects (I think this includes
Howdy,
context-reload occurs. The solution, of course, is not to enable
context-reloading on production :)
This is very good advice.
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary
Laurent,
When does a class reload occur ?
I was talking about a context re-load, which dumps everything in the
context and re-starts it in a new ClassLoader.
When u update a JSP ?
Yes, the class gets re-loaded, but not the whole context. This is much
less of a problem.
When u update a class ?
Objet : RE : memory-leaks in servlets, tool for tracing ?
What about classes with static method and/or static attributes ?
Are they deleted from the old webapp ?
-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 5 novembre 2003 15:57
À : Tomcat Users List
-Original Message-
From: Laurent Michenaud [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 10:59 AM
To: Tomcat Users List
Subject: RE : RE : memory-leaks in servlets, tool for tracing ?
It would be good if some of you writes an kind of howTo
that shows :
- a webapp with a memory
Laurent,
What about classes with static method and/or static attributes ?
Are they deleted from the old webapp ?
I don't believe that the VM ever releases resources taken up by Class
objects (I think this includes static resources for a class). There used
to be a VM option, -noclassgc, that was