[ACCEPTED]-Checking Memory Usage While Application is Running-warnings

Accepted answer
Score: 15

Using Instruments you can check how much memory your 5 app is using. In Xcode4, use 'Profile' build, choose 4 Leaks, then click the Library button in the toolbar 3 and add the Memory Monitor instrument.

It will show an 2 overview of every app that is running and 1 how much memory each is using.

Score: 2

If you don't want to use Instruments, there 3 is actually a utility class that Giulio 2 Petek wrote that gets the current memory 1 usage.

Try it out here: http://forrst.com/posts/Get_current_Memory_usage-hzw

Score: 2

You can check the memory usage, using vm_statistics_data_t object. Kindly 1 find the details and implementation here:

  1. http://gamesfromwithin.com/whered-that-memory-go
  2. http://landonf.bikemonkey.org/code/iphone/Determining_Available_Memory.20081203.html

More Related questions