Howdy,
Once you get an OutOfMemoryError, your JVM is in an unpredictable state
and must be restarted.  This is not specific to tomcat.  Reloading the
webapp will not do any good.

Find the leak with a profiler and fix it ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Mike Curwen [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, September 17, 2003 11:17 AM
>To: [EMAIL PROTECTED]
>Subject: Memory Usage, Leakage and java.lang.OutofMemory
>
>So let's say that I have a web app that is slowly but surely leaking.
>
>Eventually, I will get a java.lang.OutOfMemory error.
>
>With how Tomcat is internally architected, or with how the JVM
operates,
>does this cause a problem for all other applications running under
>Tomcat? Is there now no more memory for *anything* running under Tomcat
>(and let's not forget Tomcat itself)?
>
>Or if I just 'reload' the problem webapp, will that 'release' all the
>memory that is currently being hogged by this app?
>
>
>-------------------------------------------
>Mike Curwen                    204-885-7733
>Intermediate Programmer       www.gb-im.com
>-------------------------------------------
>  ____   ____            ___   __  __
> / ___| | __ )          |_ _| |  \/  |
>| |  _  |  _ \   _____   | |  | |\/| |
>| |_| | | |_) | |_____|  | |  | |  | |
> \____| |____/          |___| |_|  |_|
>
>
>---------------------------------------------------------------------
>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