• 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: Losing my memory - a caching problem?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Losing my memory - a caching problem? (From: Stuart Rogers <email@hidden>)
 >Re: Losing my memory - a caching problem? (From: Shawn Erickson <email@hidden>)
 >Re: Losing my memory - a caching problem? (From: Stuart Rogers <email@hidden>)

  • Prev by Date: Re: Losing my memory - a caching problem?
  • Next by Date: File system caching of - xxxxWithContentsOfFile:
  • Previous by thread: Re: Losing my memory - a caching problem?
  • Next by thread: Re: Losing my memory - a caching problem?
  • Index(es):
    • Date
    • Thread