Breaking News
Home / iOS / iOS Snippets / How to get Memory Stats in an iOS app?

How to get Memory Stats in an iOS app?

Knowing the amount of memory in the device is very critical esp. if you are trying to figure out memory leak. We can use C API to find out the Free, Used and Total memory of the device.

The following method shows how to print out the memory stats. This method can be called however many times in a background thread to keep on printing the memory foot print. This can be used to diagnose a memory leak situation.

Check Also

Your IAPs are set to Consumable – App Rejection Reason

App Rejection Reason We found that the Purchasability Type for one or more of your …

Advertisment ad adsense adlogger