Re: memory management question
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.