On 1 July 2011 22:54, Jerry Krinock <[email protected]> wrote: > App then executes -[NSManagedObjectContext save:]. This method thrashes > for 30 minutes, with memory usage increasing slowly, until system won't give > any more and then it crashes.
Run the app in Instruments, and see what it's doing. You may discover that it's doing stuff you didn't intend it to do. Eliminate parts of your code until the bug goes away, or, alternatively, begin with test app (with entity classes that have no added features) that loads, maybe deletes the expired entities, and saves the datastore. If the bug is still there when you have virtually none of your own code left, and all your entities classes are practically plain NSManagedObjects, then you may consider eliminating parts of your datamodel (involves migration) until the bug goes away. _______________________________________________ Cocoa-dev mailing list ([email protected]) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
