• 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: 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.


  • Prev by Date: help with userdefaults.
  • Next by Date: Re: Cocoa Java debugging problems
  • Previous by thread: Re: memory management question
  • Next by thread: Re: memory management question
  • Index(es):
    • Date
    • Thread