> 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 object; not the other way around. Your actions should/could reference singletons - nothing's wrong with that. > but i have one action class which doesn't have any thing which can prevent > that class from > being garbage collected. Nothing, that I can see. How do you know that it is not garbage collected? Garbage collection is a tricky business. Just because you do not see action classes being collected does not mean they are not eligible. It might simply mean that GC does not need to collect them. Alex. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]