I'm sorry, ignorance here...

We've been using Tomcat 5.0.28 for more than a few months using
Jetspeed1.5. Our production server probably has gone down once every
week to 2 weeks, and we haven't experienced a memory leak. I thought
that was one of the fixes when using Java 1.4.2 ?

-Zach

-----Original Message-----
From: sysdba [mailto:[EMAIL PROTECTED]
Sent: Friday, April 15, 2005 9:49 AM
To: Tomcat Users List
Subject: Memory Leak Solved

We have struggled with a memory leak in 5.0.28/5.0.30 for months. There
have been many complaints about the necessity to restart Tomcat every
couple days due to Out of Memory errors, but no solutions that cured it.
Well, the suggestion to put the single line:
         Introspector.flushCaches();
in the destroy method of a servlet in a redeployable app finally solves
it. Our Tomcat web server has now run for seven days without an OOM
error. The amount of time spent with the Optimizeit profiler trying to
locate a nonexistent memory leak in the application code cannot be
overestimated. This discovery should be bold red lettered in the docs.

Gary Harris

******************************************
The information contained in, or attached to, this e-mail, may contain 
confidential information and is intended solely for the use of the individual 
or entity to whom they are addressed and may be subject to legal privilege.  If 
you have received this e-mail in error you should notify the sender immediately 
by reply e-mail, delete the message from your system and notify your system 
manager.  Please do not copy it for any purpose, or disclose its contents to 
any other person.  The views or opinions presented in this e-mail are solely 
those of the author and do not necessarily represent those of the company.  The 
recipient should check this e-mail and any attachments for the presence of 
viruses.  The company accepts no liability for any damage caused, directly or 
indirectly, by any virus transmitted in this email.
******************************************

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

Reply via email to