You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/02/18 16:27:58 UTC

DO NOT REPLY [Bug 17165] New: - logic:iterate tag not releasing collections from memory

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

logic:iterate tag not releasing collections from memory

           Summary: logic:iterate tag not releasing collections from memory
           Product: Struts
           Version: 1.0.2 Final
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: josh@betterway.net


Hi All,

 I'm using the logic:iterate tag to iterate through a vector I'm getting from a
bean in the standard way. Everything seems to work fine, but I kept running out
of memory when a heavy load was placed on the application.
 After alot of time spent with a profiler, I found that the garbage collector
wasn't cleaning out the arrays from memory because somehow the iterate tag had
pointers still to it. The bean itself was in request scope only, and no other
pointers could be found.
 I replaced the iterate tag with a standard for loop and the problem went away.
Any help would be greatly appreciated! I love struts and would like to use it to
its full extent :)

Thanks,
-Joshua Szmajda

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