• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Fixing my massive memory leak with NSImage/CALayer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 22:32:16 -0700


On 1 Apr '08, at 7:47 PM, Nathan Vander Wilt wrote:

Looks like I'll have to design a smarter architecture to keep the right images in memory at the right time.

IKImageBrowserView (new in 10.5) pretty much does this for you. If its look and feel are compatible with what you're doing (it's not very customizable) it's definitely the easiest way to go.


If you're doing it yourself, though, and need maximum control over image memory usage, consider using CGImage instead. It doesn't cache anything for you, so it's easier to tell what it's doing.

—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

References: 
 >Fixing my massive memory leak with NSImage/CALayer (From: Nathan Vander Wilt <email@hidden>)
 >Re: Fixing my massive memory leak with NSImage/CALayer (From: Jens Alfke <email@hidden>)
 >Re: Fixing my massive memory leak with NSImage/CALayer (From: Nathan Vander Wilt <email@hidden>)

  • Prev by Date: Re: HUD panel is deallocating itself after close
  • Next by Date: Re: [NSPipe pipe] returning nil (running out of filehandles?)
  • Previous by thread: Re: Fixing my massive memory leak with NSImage/CALayer
  • Next by thread: PDF file in NSTextAttachment
  • Index(es):
    • Date
    • Thread