Forum Xamarin.iOS

Average Memory Usage?

ThomasBandtThomasBandt DEDeveloper Group Leader ✭✭
edited January 2014 in Xamarin.iOS

I did a lot of work regarding memory optimization within the last weeks and I think I got some "good" results, however I have no idea how good they are compared to other applications which are built with Xamarin.iOS.

Are there any statistics or can anyone share some numbers here? I know that each app is different from another, but to get an idea of what seems to be right and false it would be really helpful to see those numbers.

To start:

I have a baseline in the area of ca. 20-25 MB (which is still increasing over time, but that's another painful topic). The app is using graphics heavily, not only for appearance but also for displaying user content (images) in different ways (we have a horizontal navigation with a UIScrollView, a grid built with UICollectionView and also detail views built with simple UITableViews).



  • SebastienPouliotSebastienPouliot CAXamarin Team Xamurai

    Getting meaningful, comparable numbers is unlikely to be easy as, like you said, applications tend to be very different.

    If you're curious then here's one thing you can try:

    • Find some similar (size, features) applications;

    • Install them (from the appstore) on your device;

    • Use Apple's Instruments to see how much memory they consume;

    • Compare the results with your own application. Make sure it is built for release (as the debug configuration can have quite a large overhead).


  • ThomasBandtThomasBandt DEDeveloper Group Leader ✭✭

    Hi Sebastian,

    As far as I know (and it turns out to be true as I just tried it again), it is not possible to process any application that is not signed with my own provisioning profile with Instruments.


  • SebastienPouliotSebastienPouliot CAXamarin Team Xamurai

    That's kind of sad :( and also kind of understandable (some of the tool features goes pretty deep into applications).

    There's a few open source applications available on github - but that will limit the number of comparable applications.

    You could also contact some people with similar application(s) and ask to swap data with them - it would be useful data for both parties (and cured of any secrets).

Sign In or Register to comment.