Re: +[NSData dataWithContentsOfURL:] leaks memory?
Re: +[NSData dataWithContentsOfURL:] leaks memory?
- Subject: Re: +[NSData dataWithContentsOfURL:] leaks memory?
- From: Daniel Jalkut <email@hidden>
- Date: Tue, 06 Dec 2005 10:46:55 -0500
On Dec 6, 2005, at 9:21 AM, Mike Morton wrote:
On my 10.3.x system, it never seems to release much memory. I ran
1,000 iterations and it grew from 32824K to 144920K. Most jumps
were 112K, the size of the downloaded image. Memory dropped by as
much as 104K and grew by as much as 320K in a single iteration.
MallocDebug does show this tool allocating memory and not freeing
it. I think 'leaks' is silent because some cache is pointing to the
memory.
Well, for what it's worth (not much to you since you're supporting
10.3) I don't see the leaks in MallocDebug running on 10.4.3.
Hopefully this means Apple fixed something.
I’d be interested in hearing more ideas, but I think it’s time to
use a DTS incident on this one…
Hmm! Sounds like it...
Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden