Re: Losing my memory - a caching problem?
Re: Losing my memory - a caching problem?
- Subject: Re: Losing my memory - a caching problem?
- From: "email@hidden" <email@hidden>
- Date: Wed, 18 Aug 2010 14:42:33 +0100
On 18 Aug 2010, at 12:50, Stuart Rogers wrote:
> On 18 Aug 2010, at 01:26, Shawn Erickson wrote:
>
> I think we have a winner! I've just implemented Shawn's suggestion
> and it seems to solve my problem. I've just passed 9,695 image files
> through my code's test phase (at 1.2MB apiece, that's over 11GB of
> data) and I still have over 6.4GB marked as free. I am a very happy
> bunny!
In this case the caching became an issue presumably because of the large number of files involved.
A question or two:
1. Is there an API for controlling the size of cache on a per process basis?
2. With regard to file caching what happens when a cached file is deleted?
Is it immediately removed from the cache or scavanged at some later date.
Regards
Jonathan Mitchell
Developer
Mugginsoft LLP
http://www.mugginsoft.com_______________________________________________
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