iPhone App takes up too much memory
- by Stephen Furlani
Ok, so here's my problem. My iPhone app is 1.2MB on disk. Granted I have a bunch of Images for the GUI buttons and backgrounds, etc. In-memory, my app takes up a whopping 15MB!
That means if I then take a picture with the camera, 8MB default, it gives a memory warning (several) even before the picker calls its delegate!
How can I tell what is grabbing so much memory, and how to remove it? I've removed all of my debugging symbols and added [-Os], but it still takes up a huge amount of memory!
Also, (how) can I change the default resolution of the camera?