Jason Coco:
In order to get the memory bytes actually used by the App, you can use the following method. However, you must become proficient in various analysis tools, as they design a better-looking picture of overall usage.
There is a field in info.virtual_size that tells you the exact number of bytes of virtual memory available (or in any case the potential virtual memory allocated to the app). The code linked by Pgb will give you the available memory and memory type of the device.
Douglas K. Bell:
This is an enhanced report_memory() that can quickly show memory leaks in NSLog().
Jason Coco:
In order to get the memory bytes actually used by the App, you can use the following method. However, you must become proficient in various analysis tools, as they design a better-looking picture of overall usage.
There is a field in info.virtual_size that tells you the exact number of bytes of virtual memory available (or in any case the potential virtual memory allocated to the app). The code linked by Pgb will give you the available memory and memory type of the device.
Douglas K. Bell:
This is an enhanced report_memory() that can quickly show memory leaks in NSLog().