Memory leak in CFNetwork - gzipDecodeData?
Memory leak in CFNetwork - gzipDecodeData?
- Subject: Memory leak in CFNetwork - gzipDecodeData?
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 20 Jul 2010 17:29:55 +0200
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).
_______________________________________________
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