You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "David Evans (JIRA)" <ji...@apache.org> on 2006/04/25 21:02:45 UTC

[jira] Reopened: (STR-957) Memory leaks with JBoss 3.x +(Tomcat/Jetty)

     [ http://issues.apache.org/struts/browse/STR-957?page=all ]
     
David Evans reopened STR-957:
-----------------------------

    Assign To:     (was: Struts Developer Mailing List)

> Memory leaks with JBoss 3.x +(Tomcat/Jetty)
> -------------------------------------------
>
>          Key: STR-957
>          URL: http://issues.apache.org/struts/browse/STR-957
>      Project: Struts Action 1
>         Type: Bug

>   Components: Unknown
>     Versions: Nightly Build
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Marco Ladermann
>      Fix For: 1.2 Family

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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org