Re: CALayer contents memory leak
Re: CALayer contents memory leak
- Subject: Re: CALayer contents memory leak
- From: Matt Neuburg <email@hidden>
- Date: Tue, 04 Nov 2008 07:23:23 -0800
- Thread-topic: CALayer contents memory leak
On Sun, 02 Nov 2008 22:08:04 -0700, Adam Fedor <email@hidden> said:
>I have a simple program with a memory leak that is driving me crazy.
>It's basically a slide show application (no I can't use IKSlideShow),
>where I repeatedly set an image in a CALayer. When run, the app
>increases in memory size by 10MB or so every time a new image is
>displayed.
This is NOT evidence for a leak. Do not attempt to second-guess that Mac OS
X virtual memory management system. In fact, do not guess. The only way to
know whether you have a leak is to use the memory analysis tools
(MallocDebug, Shark, what have you). m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden