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 100 % garbage
collection of my all action class objects.
Can anybody tell me a way so i can find all action objects garbage
collected once action class has done
its work.
What makes you think the action instances are not being garbage
collected? As long as they are request scoped they will be eligible for
garbage collection as soon as the request they are associated with has
completed processing, unless you are keeping a longer-lived reference to
them somewhere.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]