• 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: MDItemCreate very, very, very, slow -- and fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MDItemCreate very, very, very, slow -- and fails


  • Subject: Re: MDItemCreate very, very, very, slow -- and fails
  • From: Hamish Allan <email@hidden>
  • Date: Wed, 15 Feb 2006 01:36:21 +0000


On 15 Feb 2006, at 01:09, Matt Neuburg wrote:

On or about 2/14/06 4:29 PM, thus spake "Hamish Allan"
<email@hidden>:

On Tue, 14 Feb 2006 10:23:17 -0800, Matt Neuburg <email@hidden>
wrote:

On Tue, 14 Feb 2006 09:18:00 -0500, Doug Knowles
<email@hidden> said:

I'm using MDItemCreate to fetch the metadata for a bunch of files,
and
my calls to it are uniformly taking about 30 seconds to execute (as
measured by logging as well as stepping over in the debugger) and, by
the way, return nil as the result.

Sounds like you're calling it wrong. m.

I fear the problem runs deeper than that:

http://www.cocoabuilder.com/archive/message/cocoa/2005/8/3/143432

I don't see any relationship between the two issues.

Hamish's issue explains why my NotLight app sometimes takes a long time to
populate the table showing the file paths (using kMDItemPath, which is the
troublesome key).

No, read the thread again. Once the server has fallen over, any attribute request -- not just kMDItemPath -- will take one second.


But the claim that a simple call to MDItemCreate will take 30 seconds all
other things being equal is demonstrably false. Something else would have to
be going on there. m.

The point is that all other things are not equal. Making lots of requests for attributes can put the server in a state where all other things are not equal.


Best wishes,
Hamish

_______________________________________________
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


References: 
 >Re: MDItemCreate very, very, very, slow -- and fails (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: MDItemCreate very, very, very, slow -- and fails
  • Next by Date: Re: CoreImage: Newbie can't find memory leak [SOLVED
  • Previous by thread: Re: MDItemCreate very, very, very, slow -- and fails
  • Next by thread: Re: MDItemCreate very, very, very, slow -- and fails
  • Index(es):
    • Date
    • Thread