Re: EOF related objects present a lot in the heap
Re: EOF related objects present a lot in the heap
- Subject: Re: EOF related objects present a lot in the heap
- From: Joseph Pachod <email@hidden>
- Date: Fri, 03 May 2013 01:11:34 +0200
Chuck Hill said:
> The snapshots are referenced counted. When the last EO using the snapshot is refaulted or garbage collected, the snapshot is discarded.
Just to make sure:
- let say the editing context someEditingContext is asked to fetch some entity and the result is assigned to foo, some variable. The corresponding snapshot is stored on the way.
- now, the foo variable is no more used and ends up being garbage collected.
- What happens now to the corresponding snapshot ? If I get you right, this snapshot will be garbage collected once the editingContext someEditingContext is itself garbage collected, it this right ?
@Ramsey
Thanks for the reply.
What haven't use it yet in production BTW ?
_______________________________________________
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