I’m slightly surprised that I haven’t seen talked about too much elsewhere, but what sort of memory usage should I be seeing in the following scenario?
I have a CALayer the size of my screen (1920 x 1200), in which I set the contents to a CGImageRef loaded directly from a 1.8Mb JPEG image (4056 x 2699 @ 240 ppi). I’d expect a little overhead, but I’m seeing memory usage instantly balloon to around 55Mb in my sample application.
Is this normal? Can I reduce this significantly, or is this just the price of entry into Core Animation land?