DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32005>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32005

Out of memory error when restarting application

           Summary: Out of memory error when restarting application
           Product: Tomcat 5
           Version: 5.0.14
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Webapps:Manager
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Each time I restart a Tomcat web application (using the Manager tool) more 
memory is tied up by the Tomcat service.  Eventually, the next restart will 
fail with an out of memory error and I have to restart the service.  Things
I've tried to resolve/diagnose this:

1.  Checked for memory leaks in the application I was restarting.  I didn't 
find anything suspicious, so then I undeployed that (and all other 
applications that I'd deployed).  This left only the standard set of apps. 
that are installed with Tomcat (/, /admin, /manager).  Then I restarted 
/admin repeatedly and replicated the problem (eventually I ran out of
memory). 

2.  Removed every jar file in {tomcat home}/common/lib that were not put 
there by the initial Tomcat installation.  (I had read some postings 
that said that classes that are loaded from here are not garbage-collected 
when an app.is restarted.)  This did not correct the problem, either.

Please let me know if there is anything I can do to eliminate this behavior.
I'm also curoius as to whether setting reloadable to true in my production 
environment would degrade performance significantly (this would of course
eliminate most of my need to restart production applications).

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

Reply via email to