Re: memory management question
Re: memory management question
- Subject: Re: memory management question
- From: Chris Ridd <email@hidden>
- Date: Fri, 19 Mar 2004 19:22:10 +0000
On 19/3/04 4:58 pm, matt neuburg <email@hidden> wrote:
>
On Thu, 18 Mar 2004 20:54:24 -0500, Sherm Pendley <email@hidden> said:
>
> On Mar 18, 2004, at 6:36 PM, matt neuburg wrote:
>
>
>
>> In fact, this is apparently not a Cocoa memory management
>
>> issue - I'm not leaking memory, AFAIK - it's a system memory management
>
>> issue. It's like I'm fighting the virtual memory system.
>
>
>
> Have you tried using memory-mapped files to read your TIFFs?
>
>
Yes; in fact, that's how I've been doing it all along, and one of the things
>
I recently tried was using initWithContentsOfFile instead of
>
initWithContentsOfMappedFile. It made no difference. m.
The OS will still cache mmapped files unless you tell it not to. There was a
discussion about techniques for this on <email@hidden>
last year; I'd recommend you search its archives for messages with "mmap" in
the title.
Cheers,
Chris
_______________________________________________
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.