Re: Struts2 Action instances are not getting garbage collected

2008-03-26 Thread Alex Shneyderman
> yeah, for some action classes spring inject singleton scoped service > dependecies so that might be reason for those action for not getting garbage > collected This can not be. The only way your action will not be garbage collected if that action instance is refferenced from a long lived obje

Re: Struts2 Action instances are not getting garbage collected

2008-03-26 Thread Prajapati Manish Narandas
Thanx Laurie Harper, I am using jprofiler to monitor instances. you are right that it may be possible that my action classes might be referencing to any long lived objects and that prevents it from being garbage collected. yeah, for some action classes spring inject singleton scoped service depend

Re: Struts2 Action instances are not getting garbage collected

2008-03-26 Thread Laurie Harper
Prajapati Manish Narandas wrote: Hi All, I am using struts2 with spring object factory. Here, spring is creating action class objects with request scope and injecting service layer dependency and service layer objects are singleton scope. here, even i have given request scope it doesnt ensure 1

Struts2 Action instances are not getting garbage collected

2008-03-26 Thread Prajapati Manish Narandas
Hi All, I am using struts2 with spring object factory. Here, spring is creating action class objects with request scope and injecting service layer dependency and service layer objects are singleton scope. here, even i have given request scope it doesnt ensure 100 % garbage collection of my all a