Howdy,
That'd be good, and I think there are some efforts in this area.  (Is Peter Lin's 
apache performance book available for online purchase?)  You can google for them.  
Another one with a specific app is a good idea, but requires a lot of time ;)

Yoav Shapira
Millennium ChemInformatics


>-----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 leak.
>- the use of a profiler program ( with screenshots ) to detect the memory
>leak.
>
>-----Message d'origine-----
>De�: Laurent Michenaud
>Envoy�: mercredi 5 novembre 2003 16:56
>��: Tomcat Users List
>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
>Objet�: RE: memory-leaks in servlets, tool for tracing ?
>
>
>Howdy,
>
>>You make a great point about how the app should stabilize it's memory
>>usage over time. However, I've got a question about memory usage when I
>>stop (via Tomcat manager) and reload a webapp via a WAR file. If I
>>understand your point, and I'm close to the max heap size, shouldn't GC
>>free up the memory from the old webapp? In my case, GC happens more
>>frequently, but doesn't do a great job (not even close to freeing up
>>the memory footprint of my webapp). Eventually, I run into out of
>>memory problems. Shouldn't a reload of a webapp cause a relase of the
>>resources from the old webapp?
>
>A reload should release old resources when you restart the webapp, yes.
>But it's your responsibility to ensure there's nothing in your
>application which would stay in memory after a webapp restart.  For
>example, classes in common/lib aren't affected by a restart, so if you
>app puts stuff there, and then you restart your app, the stuff you put
>in common/lib will still be there.
>
>Yoav Shapira
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary and/or privileged.  This e-mail is intended only for the
>individual(s) to whom it is addressed, and may not be saved, copied,
>printed, disclosed or used by anyone else.  If you are not the(an) intended
>recipient, please immediately delete this e-mail from your computer system
>and notify the sender.  Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to