Hi, On Sun, Apr 22, 2012 at 8:26 PM, René Ruppert <[email protected]>wrote:
> Hi, > > > > let’s assume that an MT app is a good memory citizen in the Simulator. No > unnecessary references are kept. Memory usage is average. > > Can I then also assume that my app is behaving nicely on the device > itself? I’m not talking about absolute numbers here. It is obvious that if > the app would use constantly 500MB of RAM it will not work well on the real > hardware. > > But if memory remains constant and is released nicely by GC, will it allow > me to assume that the same will be true on iPhone/iPad? Asked differently: > is the memory management different in the way GC works, apart from the fact > that it is called less often? > The memory management in MonoTouch should be identical (except the fact that the GC will not get executed nearly as often). MonoTouch itself uses somewhat more memory in the simulator than on device (this is really a byproduct of having to AOT code on device), but it shouldn't be a significant difference (at least not on an iPad which has much more memory than the early iPhones). Does the ObjC sublayer behave differently (in terms of memory)? > This I do not know, unfortunately. I do not know about thing that may cause the device to use more memory than the simulator, so if you do find a significant difference in memory usage on device, you should definitively report it as a bug. Rolf
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
