tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23482] New: - Sequential stopping and re-starting of web application leads to out of memory exception
Date Mon, 29 Sep 2003 12:40:43 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23482>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23482

Sequential stopping and re-starting of web application leads to out of memory exception

           Summary: Sequential stopping and re-starting of web application
                    leads to out of memory exception
           Product: Tomcat 4
           Version: 4.1.27
          Platform: Other
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Webapps:Manager
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Peter.Kriegesmann@softwareag.com


While performing automated tests against a web application running under Tomcat 
4.1.27, an out of memory exception occured.

This is due to the fact, that Tomcat obviously does not release the allocated 
memory (at least only minor parts of it) when the corresponding application is 
stopped.

It can be reproduced very easily:

Open up the Windows Task Manager as well as the Tomcat Manager.

Write down the memory usage of "java.exe" within Windows Task Manager.
Now stop and start the "examples" application within Tomcat Manager several 
times.

The increase of memory usage is noticeable.
Performing these operations in conjunction with larger web applications will 
result in an Out Of Memory Exception.

My environment is as follows:

Tomcat Version Apache Tomcat/4.1.27 
JVM Version 1.4.1_03-b02 
JVM Vendor Sun Microsystems Inc. 
OS Name Windows 2000 
OS Version  5.0 
OS Architecture x86 

Please investigate.

Best regards,
Peter

Mime
View raw message