The JSP specification allows Tags to live independent of the pages they are
declared upon.  As far as I know it is up to the container as to when they
are garbage collected.  Some containers optimize the occurances of the tags
based on the parameters passed to the tags, i.e. declaring a new one for
each unique set of parameters.

Edgar

> -----Original Message-----
> From: AshokD [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 05, 2003 8:30 AM
> To: 'Struts Users Mailing List'
> Subject: Garbage Collection Problem with Write Tag
> 
> 
> Hi,
>  
> I am using Struts framework to my application. I observed 
> some of the strange things.
>  
> After executing a action I am displaying a set of records in 
> a Grid (50 records). I tested this application by using WSAD 
> Profiling.
>  
> In the profiling results, I seen 120 live WriteTag 
> instances(which is not garbage collected), same thing I 
> observed for Radio Tag also.
>  
> Can any one help to make these objects as garbage collected.
>  
> Pls check the attached screen shot of the results.
>  
> The filled color shows the objects which are not Garbage Collected.
>  
> Thanks & Regards,
> Ashok.D
>  
> 

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

Reply via email to