My app has been receiving a low memory warning with a repetitive action and eventually crashes. When I profiled in instruments, I only see 5.7 MB of living bytes at crash. (The crash shows no traceback, no errors, etc. It just terminates, which is indicative of a memory crash.)
Why is my app crashing with such a low memory footprint?? I've been testing on iOS 5.1 on iPad 1.
Edit:
I was able to fix the crashing. It was due to an extra retain call on an object that has 3 UIImages
as properties. An accumulation of these objects was causing the memory warning and crashing.
However, the question still remains: why did Instruments show that there were only 5.7MB of live bytes? Could this be due to UIImage's
automatic caching?