• 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: Core Data app becomes a memory hog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data app becomes a memory hog


  • Subject: Re: Core Data app becomes a memory hog
  • From: "Clint Shryock" <email@hidden>
  • Date: Fri, 8 Jun 2007 14:00:53 -0500

I see.  Thanks for the explanation.

+Cliint

On 6/8/07, Joshua Pennington <email@hidden> wrote:

The problem was due to the way autoreleasing objects works. When an object receives an -autorelease message, it is added to the current autorelease pool. The default autorelease pool is emptied (all objects in it are sent -release) once every execution of the run loop - in some cases, that is not often enough and it is necessary to create another one that will be "emptied" sooner, in order to not have so many objects taking up memory while waiting to be autoreleased.

On 6/8/07, Clint Shryock <email@hidden> wrote:
> anyone care to detail what was causing the problem and why this solution
> fixed it?  is it a problem with autorelease pool itself, or how it were
> being used?

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Core Data app becomes a memory hog (From: Christian Weykopf <email@hidden>)
 >Re: Core Data app becomes a memory hog (From: "Clint Shryock" <email@hidden>)
 >Re: Core Data app becomes a memory hog (From: "Joshua Pennington" <email@hidden>)

  • Prev by Date: Re: How can I make an NSScrollView scroll to the top?
  • Next by Date: XSXMLNode nodesForXPath bug?
  • Previous by thread: Re: Core Data app becomes a memory hog
  • Next by thread: Converting uint16_t port to a NSString
  • Index(es):
    • Date
    • Thread