Iphone application memory used

How to find out how much memory the Iphone app is taking at any time from the app itself? I am interested in this on the device, not in the simulator. Is this an API to call? As a different approach, how can I find out how much free memory the device currently has?

+2


source to share


3 answers


Well, it looks like I found the answer to my question right here, SO, it's   here . This is what I wanted, testing it now to see how it works.



0


source


You can use tools, especially the Object Allocation template, to track memory usage.



+1


source


Memory usage is a bit tricky as there is no simple number to define. See here why.

But libtop is open source for Mac OS , and you can watch it to see how things glimmer from above. I did this once on a project that monitored memory consumption and found it quite useful.

+1


source







All Articles