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

Re: memory management question


  • Subject: Re: memory management question
  • From: Michael Rothwell <email@hidden>
  • Date: Sat, 20 Mar 2004 12:56:57 -0500

How about using something like this on the file descriptors?

fcntl(fd, F_NOCACHE, 1);
fcntl(fd, F_RDAHEAD, 1);

... it seems to work for me, on Panther.



On Mar 20, 2004, at 11:05 AM, matt neuburg wrote:
Once a TIFF has been read from disk, it will not be read again. The system
is wrong to cache it; this is a false optimization. Thus, I am looking for a
way to get the system to "give back" the RAM occupied by each TIFF after I
am done with it. m.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: memory management question
      • From: matt neuburg <email@hidden>
References: 
 >Re: memory management question (From: matt neuburg <email@hidden>)

  • Prev by Date: background colour of NSBrowser
  • Next by Date: Re: how to get this type of regex matching happening (using AGRegex)?
  • Previous by thread: Re: memory management question
  • Next by thread: Re: memory management question
  • Index(es):
    • Date
    • Thread