Re: Search Kit memory management
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