• 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
Core data memory leak?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core data memory leak?


  • Subject: Core data memory leak?
  • From: Jesse Grosjean <email@hidden>
  • Date: Mon, 8 Aug 2005 17:54:23 -0400

It seems like core data leaks model description objects in some cases. For example consider the EventManger application

    /Developer/Examples/CoreData/EventManager/EventManager.xcodeproj/

You can create and then close a new document with no (or few, hard to tell sometimes) leaked objects. But if you open and then close an existing EventManager document you will leak

NSEntityDescription + 5
NSComparisionPredicate + 10
NSSelfExpression + 10
NSRelationshipMapping + 8
... many more

Does anyone know of a fix or suggested solution for this? Both the NSManagedObjectModel and NSManagedObjectContext objects are getting released.

Thanks,
Jesse
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Question about Threading
  • Next by Date: Re: refreshObject:mergeChanges: vs. stale transient properties
  • Previous by thread: Re: Cocoa and flash
  • Next by thread: Threads & communication performance
  • Index(es):
    • Date
    • Thread