• 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: [Leo] Strange Core Data vs. Spotlight issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Leo] Strange Core Data vs. Spotlight issue


  • Subject: Re: [Leo] Strange Core Data vs. Spotlight issue
  • From: Adam Knight <email@hidden>
  • Date: Thu, 8 Nov 2007 15:11:43 -0600

On Nov 8, 2007, at 2:27 PM, Ben Trumbull wrote:

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.

That's what I was thinking, but the system performed otherwise.

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.

Yeah, nothing there.

What other I/O operations is your app doing besides reading an NSData ? Are you creating or deleting a lot of files ?

Absolutely nothing with the filesystem goes on when changing notes other than a possible CD fault. Though, in theory, it should keep that object in memory for a period of time but this issue appears even when going to and fro between two notes that should already be in memory. Indeed, it happened on an unsaved store as well (which is even less possible...).


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.

That does appear to be the next route. Well, that and a lot of time in Instruments. However a co-worker of mine doesn't see this issue at all, so it's getting more and more strange that my two computers see it (one an upgrade install from Tiger and one a non-preserving archive install from a previous Leo). I'll keep poking around, I suppose. Very strange...



Adam Knight codepoetry - http://www.codepoetry.net/products/



_______________________________________________

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


  • Follow-Ups:
    • Re: [Leo] Strange Core Data vs. Spotlight issue
      • From: "Melissa J. Turner" <email@hidden>
References: 
 >re: [Leo] Strange Core Data vs. Spotlight issue (From: Ben Trumbull <email@hidden>)

  • Prev by Date: Re: Implementing binding with garbage collection.
  • Next by Date: Re: NSOpenGLView overlap
  • Previous by thread: re: [Leo] Strange Core Data vs. Spotlight issue
  • Next by thread: Re: [Leo] Strange Core Data vs. Spotlight issue
  • Index(es):
    • Date
    • Thread