• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOF related objects present a lot in the heap
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: EOF related objects present a lot in the heap
      • From: Chuck Hill <email@hidden>
References: 
 >Re: EOF related objects present a lot in the heap (From: Joseph Pachod <email@hidden>)
 >Re: EOF related objects present a lot in the heap (From: Ramsey Gurley <email@hidden>)

  • Prev by Date: Triggering AjaxObserveField through javascript
  • Next by Date: Re: EOF related objects present a lot in the heap
  • Previous by thread: Re: EOF related objects present a lot in the heap
  • Next by thread: Re: EOF related objects present a lot in the heap
  • Index(es):
    • Date
    • Thread