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=14042>.
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=14042

Memory leaks with JBoss 3.x +(Tomcat/Jetty)

           Summary: Memory leaks with JBoss 3.x +(Tomcat/Jetty)
           Product: Struts
           Version: 1.1 Beta 2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Using the hotdeploy feature of JBoss with struts enabled applications yields to 
OutOfMemory-Exceptions. JBoss tries to undeploy the old application and 
releases all references to it, but the allocated object are never garbage 
collected. Since this happens with Jetty as well as with Tomcat I assume it's a 
bug in Struts with cyclic references. 
 
Steps to reproduce: 
1) Install a vanilla JBoss 3.x 
2) Copy jakarta-struts-1.1-b2-blank.war into server/default/deploy 
3) Start JBoss 
4) Touch/copy server/default/deploy/jakarta-struts-1.1-b2-blank.war 
5) Wait a little bit to let JBoss finish the redeploy 
6) Go to step 4 
 
Under linux you can see with "ps -p <jboss.pid> -h -o rss" that the memory 
usage is constantly increasing. With "lsof -p <jboss.pid> | grep 
jakarta-struts-1.1-b2-blank.war" you can monitor references to the old 
deployments.

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to