How much memory is my iphone application using (from Simulator)

I know it has something to do with tools, but it seems to be confused and googled for tools, it doesn't help much.

I would like to know how well my application is performing, such as how much memory it is using. I just don't know where to find something like: "Once we can say with the simulator that the application will use xx MB of RAM on a real iphone device."

I need help on how to get this information.

+2


a source to share


2 answers


You should not check your memory usage in the simulator for a number of reasons, some of which are:

  • The simulator runs on your computer, not your phone, so the maximum storage is the same as the bar installed on your Mac.
  • The simulator and your application, when building from the simulator SDK, do not use the same libraries as on the device and, as a result, may use a different amount of memory.


However, if you can start the device, you should use the Monitor Monitor and Object Allocations tools in the tools to monitor your memory usage.

+4


a source


You should use Run / With Performance Tools / Object Allocations. The memory used will be displayed on the graphs.



And then you check the box "Created and stationary" to see what objects are in memory.

0


a source







All Articles