re: [Leo] Strange Core Data vs. Spotlight issue
re: [Leo] Strange Core Data vs. Spotlight issue
- Subject: re: [Leo] Strange Core Data vs. Spotlight issue
- From: Ben Trumbull <email@hidden>
- Date: Thu, 8 Nov 2007 12:27:23 -0800
At 9:52 AM -0800 11/8/07, email@hidden wrote:
However the very strange thing is that I don't use Spotlight at all.
I use Core Data in a document-based application that's not saving
files when this is happening.
That's strange ... inconceivable. Core Data doesn't do anything
special with or for Spotlight.
Changing notes involves changing a selection on an array controller
which triggers an observer that then changes out the note view and
loads an NSData from the store to fuel that view. Nothing terribly
complicated, really, and certainly nothing that uses Spotlight.
Does anyone have a clue as to where mds could be getting into the
mix? I'm not even sure how to start to debug this one. I've already
done the "sysadmin" thing and destroyed the Spotlight database and
rebuilt it as well as tried several machines. It appears to be a code
issue.
Have you checked the console log ? I've found if an app logs
constantly (sometimes from throwing exceptions) that it can really
degrade the system performance.
What other I/O operations is your app doing besides reading an NSData
? Are you creating or deleting a lot of files ?
You could also try stepping along through gdb and seeing what area of
code appears to trigger spotlight. Without symbols, frustrating, but
you might be able to gleam something.
--
-Ben
_______________________________________________
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