You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/11/01 18:23:00 UTC
DO NOT REPLY [Bug 32005] New: -
Out of memory error when restarting application
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: tomcat-dev@jakarta.apache.org
ReportedBy: Chris_Emmerich@partner.nps.gov
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org