• 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
CATiledLayer Memory Usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CATiledLayer Memory Usage


  • Subject: CATiledLayer Memory Usage
  • From: Milen Dzhumerov <email@hidden>
  • Date: Sat, 22 May 2010 17:44:07 +0100

Hi all,

I've been writing some code that uses CATiledLayer and noticed that the memory usage increased quite a bit - by a factor of 2, on average. Some numbers that I've collected:
Normally Sized Window
 - NS: 10mb; CA: 18.5mb
Maximized Window:
 - NS: 23mb; CA: 45.7mb

I tried playing with the tile size and it looks like it has no effect on the memory usage. If I just used a normal CALayer, the memory consumption was somewhere in-between - an increase of about 1.5 with respect to the NS version. I just wanted to ask whether that's the expected behavior of CATiledLayer and whether I should be following any tips to keep that usage down as much as possible.

Many thanks,
Milen

PS. Test project http://dl.dropbox.com/u/645995/TiledLayerMemoryUsage.zip_______________________________________________

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

  • Follow-Ups:
    • Re: CATiledLayer Memory Usage
      • From: David Duncan <email@hidden>
  • Prev by Date: core data, undo and redo
  • Next by Date: Re: core data, undo and redo
  • Previous by thread: Re: core data, undo and redo - follow-up question
  • Next by thread: Re: CATiledLayer Memory Usage
  • Index(es):
    • Date
    • Thread