Re: Core Data, Garbage Collection and SQL Store
Re: Core Data, Garbage Collection and SQL Store
- Subject: Re: Core Data, Garbage Collection and SQL Store
- From: "email@hidden" <email@hidden>
- Date: Fri, 30 Jan 2009 17:32:22 +0000
On 30 Jan 2009, at 17:14, Kevin Ross wrote:
Hi all,
It has recently come up on the list again about a known issue when
using Core Data + G.C. + SQL NSPersistantDocumentStore. I have a
document based application that I am about to release where I have
been using this exact combination through it's entire development.
I have noticed this issue with the "hang while saving", but at the
time I had thought that it was caused by me corrupting the
document's object graph. Indeed the problem seemed to stop once I
had fixed some of my App's logic and I haven't seen the issue since.
Me question now is, is it known if there are any particular types of
models that can cause this hang? I am using SQL since I will be
storing one picture and multiple images of floor plans per document
as per the Core Data BLOBs docs. My data model is has about 12
entities, but will only have a few instances of each object. I
haven't seen this issue in quite a while and I was wondering if it
might be safe to release it with SQL set as the default backing store?
I am in the same boat.
My app is very simple, probably a lot simpler than yours, but the
results seem pretty clear.
If I switch my store type to SQLite the second save issue is present
(are you making sure to dirty the doc and then save that second time?)
If I specify XML then saving is reliable.
I too would prefer the SQLite store but the problem does seem to be a
definite show stopper.
I am running 10.5.6 + Xcode 3.1.2
Thank you for any insights you may have into this matter.
Kevin Ross
Feng Shui Software
cocoabeans.heliohost.org
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
Jonathan Mitchell
Central Conscious Unit
http://www.mugginsoft.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden