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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to