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





------- Additional Comments From [EMAIL PROTECTED]  2003-02-25 19:58 -------
If there is a bug here, I don't see how it can possibly be in Struts. One tag 
instance holds exactly one collection and iterator reference. When the tag is 
reused or released, any existing references are cleared, either by overwriting 
the values or by setting them to null in release(). There is nowhere that the 
iterator tag could accumulate references to more than one of each of these.

The only way for memory usage to be consumed as Joshua describes is for the 
container to be continually allocating new tag handler instances without 
releasing existing ones. Struts has absolutely no control over that.

Joshua, since you have a profiler at your disposal, can you try taking your 
analysis one more step? You said you saw references from the iterator tags to 
the vectors, and I'm betting that you'll also see references from the container 
to the iterator tags.

Also, what container are you using, and what JVM?

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

Reply via email to