iPhone App takes up too much memory
Posted
by Stephen Furlani
on Stack Overflow
See other posts from Stack Overflow
or by Stephen Furlani
Published on 2010-05-09T21:28:48Z
Indexed on
2010/05/09
21:58 UTC
Read the original article
Hit count: 191
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?
© Stack Overflow or respective owner