DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31585>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31585

Minor Memory Leak in Iterator Tag

           Summary: Minor Memory Leak in Iterator Tag
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If you supply a collection object instead of a name to the iterator tag, the  
iterator tag instance will reference the collection until the tag instance will 
be released.

During load tests we noticed that the current tomcat versions (e.g. 5.0.28) 
pool the tags as expected, but keep our collection objects in memory longer 
than expected.

I think it would be good to reset the protected member "collection" in the 
iterator tag in doEndTag() and thus prevent these memory leaks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to