iPhone application-Memory handling issues

Posted by Vin on Stack Overflow See other posts from Stack Overflow or by Vin
Published on 2010-05-03T05:13:59Z Indexed on 2010/05/03 5:18 UTC
Read the original article Hit count: 540

Filed under:
|
|

Hi All,

I am having some memory management issues in my app. Maybe someone may help me out here.

1) While checking for leaks in intruments, when I deploy and run the app on device, the virtual memory utilized, starts from 50 MB(even though i've just launched the app and am on the first screen). My resources contribute to 2.6 MB of it and I don't know what is contributing for the rest. What is the ideal utilization of virtual memory for an app?

2) In certain screen of the app, user is allowed to click a picture from the camera. In Instruments, I observe that virtual memory utilization jumps around 20MB, on the invocation of camera. Is it normal and can it be decreased?

Looking forward to hear a reply soon. Thanks in advance

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk