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: Ramsey Gurley <email@hidden>
- Date: Thu, 02 May 2013 17:05:45 -0700
On May 2, 2013, at 4:25 PM, Chuck Hill wrote:
>
> On 2013-05-02, at 4:11 PM, Joseph Pachod wrote:
>
>> 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 ?
>
> It should be collected shortly after foo is set to null or goes out of scope. Keep in mind that relationships between EOs are also references.
>
>
>>
>> @Ramsey
>>
>> Thanks for the reply.
>>
>> What haven't use it yet in production BTW ?
>
> Because he is Gurley! <rimshot />
>
> Chuck
:D
The main reason is that serialization wouldn't solve any of the problems I fight at work. My work apps have very few concurrent sessions.
Ramsey
_______________________________________________
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