Re: Memory leak in CFNetwork - gzipDecodeData?
Re: Memory leak in CFNetwork - gzipDecodeData?
- Subject: Re: Memory leak in CFNetwork - gzipDecodeData?
- From: Mark Pauley <email@hidden>
- Date: Wed, 21 Jul 2010 16:35:07 -0700
Thanks Stéphane! Could you please send me the bug number?
I'll take a look when I get a chance.
On Jul 21, 2010, at 8:09 AM, Stéphane Sudre wrote:
>
> On Jul 20, 2010, at 5:29 PM, Stéphane Sudre wrote:
>
>> Is there a known memory leak in the CFNetwork function gzipDecodeData()?
>>
>> According to Activity Monitor and Instruments, I am losing close to 300 KB of RAM for each 8 MB download through http.
>>
>> Specifically, the main memory leak is with a call to CFDataReplaceBytes > __CFDataGrow and there is a smaller one in __CFDataInit.
>>
>> CFNetwork not being open source, it is not possible to check the source code.
>>
>> A quick search on Google brings back only one occurrence, a crash in Safari due to a memory issue with gzipDecodeData.
>>
>>
>> I'm seeing this on Mac OS X 10.6.4, 64-bit process, Foundation tool (I don't think it's an autorelease issue as it's not some memory I own that is leaked).
>
> OK, so there is a new memory leak in the networking APIs on Mac OS X 10.6.x :-(
>
> The memory leak does not happen on Mac OS X 10.5.8.
>
> I will file a bug report.
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Macnetworkprog mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden