Reputation: 39701
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?
Upvotes: 1
Views: 1067
Reputation: 28874
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.
Upvotes: 3
Reputation: 171914
When you run the application using Instruments (Object Allocations) in the simulator, that should give you a very accurate memory usage picture.
Upvotes: 1