• 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: Search Kit memory management
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Search Kit memory management


  • Subject: Re: Search Kit memory management
  • From: Michael Tsai <email@hidden>
  • Date: Tue, 3 Aug 2010 13:41:14 -0400

On Aug 1, 2010, at 2:26 PM, Michael Thon wrote:

> I decided to spend more time on Search Kit first, to see if I can get it to do what I want.  As far as I know it is the basis of Spotlight, so I didn't think I would have problem indexing large numbers of files.


You'd think so, but I, too, found that Search Kit uses lots of memory without releasing it, no matter how often I flushed or closed the index. My solution was to use a separate, short-lived helper process for modifying the index. The memory is guaranteed to be freed when it exits.

--Michael


_______________________________________________

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

References: 
 >Re: Search Kit memory management (From: Ken Thomases <email@hidden>)
 >Re: Search Kit memory management (From: Michael Thon <email@hidden>)
 >Re: Search Kit memory management (From: Ken Thomases <email@hidden>)
 >Re: Search Kit memory management (From: Michael Thon <email@hidden>)

  • Prev by Date: iOS: UITableViewCell an textlabel?
  • Next by Date: Re: iOS 4: CGImageCreateWithImageProvider
  • Previous by thread: Re: Search Kit memory management
  • Next by thread: Re: Search Kit memory management
  • Index(es):
    • Date
    • Thread