Re: Fixing my massive memory leak with NSImage/CALayer
Re: Fixing my massive memory leak with NSImage/CALayer
- Subject: Re: Fixing my massive memory leak with NSImage/CALayer
- From: Jens Alfke <email@hidden>
- Date: Tue, 1 Apr 2008 16:24:25 -0700
On 1 Apr '08, at 11:07 AM, Nathan Vander Wilt wrote:
The NSImage that my FRPhoto holds on to should have "invalidate[d]
and free[d] the offscreen caches of all image representations".
That doesn't mean the image representations themselves are flushed,
though. They're still there, typically holding onto big uncompressed
pixmaps. All -recache does is flush extra copies of those pixmaps that
were copied into VRAM to speed up blitting.
If you want the pixmaps out of memory, you have to dealloc the
NSImages themselves.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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