views:

271

answers:

2

Also, is running an app in the simulator sufficient to get a ball park estimate or will I get very different values from running on the device?

+1  A: 

When you run the application using Instruments (Object Allocations) in the simulator, that should give you a very accurate memory usage picture.

Philippe Leybaert
+3  A: 

The default (and a very good) tool is Instruments, which comes with the SDK. Here is Apple's doc on Instruments.

Memory usage on the simulator is generally the same, although if you are using OpenGL ES, the simulator has significantly less memory errors (and better performance) on the simulator. So the general rule of thumb is: it's ok to test your memory on the simulator, except for OpenGL ES usage.

Tyler