“live bytes” different on simulator versus device

I have a program that is showing, in the allocations instrument, approx. 72 MB of "live bytes" but when I run the profiling on my iPod touch, it shows 6 MB. I don't understand why the vast difference. Can anybody please explain this?


Keep in mind that the iOS Simulator is a simulator, not an emulator.

The iOS Simulator works by compiling your iOS application to x86 code, and linking it against a set of system frameworks which simulate their iOS equivalents on a desktop computer. These frameworks are, of necessity, not identical to those that you'd find on "real" iOS -- they are, after all, compiled for a different CPU architecture, and are "talking to" desktop hardware, not a handheld device.

Knowing this, it should be understandable that some aspects of application performance may be radically different on the Simulator than on a real device. Keep this in mind, and test your code early and often on real hardware!

Need Your Help

How to count the number of matches in a matrix in Octave?

matrix find octave

I have a column matrix of integers like [1;4;3;2;3].

How to make a UItextField with a UIPickerView

iphone objective-c

i wanto to make somethink like this http://tinypic.com/r/33m8vmo/7 . I want to know if it's just a UItextField with a picture in the right or not ?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.