Re: Search Kit memory management
Re: Search Kit memory management
- Subject: Re: Search Kit memory management
- From: Michael Thon <email@hidden>
- Date: Sun, 1 Aug 2010 17:29:32 +0200
>
> Hi Mike,
>
> What happens if you periodically call SKIndexFlush() in your loop?
>
> After closing the index, did you use Instruments to confirm that your allocated memory is still allocated or did you look at memory usage in Activity Monitor? Due to underlying memory management, Activity Monitor may not be useful for this kind of analysis.
>
> Aaron
>
Yes, I was referring to "Real Mem" reported by Activity Monitor in this case. Calling SKIndexFlush() did not have any effect on the memory usage in this case. I looked through the Activity Monitor help docs but I could not fin a definition of what "Real Mem" is actually reporting. I assumed if it kept increasing while indexing documents, that something was wrong with my memory management in this block of code. Obviously there are some things about memory management and memory reporting by Instruments and Activity Monitor that I don't understand yet..._______________________________________________
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