Re: When can I expect my WOComponent to get garbage collected?
Re: When can I expect my WOComponent to get garbage collected?
- Subject: Re: When can I expect my WOComponent to get garbage collected?
- From: Travis Britt <email@hidden>
- Date: Tue, 25 May 2010 18:40:35 -0400
Are you storing a reference to your component instance somewhere?
But, the finalize method is not guaranteed to be called depending on your JVM and memory sitch. I only use it for freeing memory I allocate via native methods, which I doubt applies in this case?
tb
On May 25, 2010, at 6:00 PM, Ricardo J. Parada wrote:
> I have a component with its local editing context. After the session expires, I was expecting to see the finalize method in my component to get called eventually, but it seems to stick around. So I wondered, how long does a component stick around? Or is there a list of things to avoid to prevent components from staying around forever?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden