Quantcast
Channel: DeveloperFeed » DeveloperFeed |
Viewing all articles
Browse latest Browse all 10

How to get Memory Stats in an iOS app?

0
0
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. [crayon-5626fdd0f33c0434161498/]

Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images