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 2004/10/07 20:25:12 UTC
DO NOT REPLY [Bug 31585] New: -
Minor Memory Leak in Iterator Tag
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: dev@struts.apache.org
ReportedBy: jens@void.fm
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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org