Forum Xamarin Xamarin.Forms

How can I get memory usage figures for iOS XF apps?

JohnHardmanJohnHardman GBUniversity admin

In the WinPhone build of my XF app, I retrieve memory usage figures to assist with identifying the cause of potential issues. I report the following via a DependencyService:

  • Application current memory usage, in bytes
  • Application memory usage limit, in bytes
  • Application peak memory usage, in bytes
  • Device total memory, in bytes
  • Peak application memory usage as percentage of application limit
  • Peak application memory usage as percentage of total device memory

Can anybody point me at the appropriate APIs for retrieving similar information for iOS please?

Many thanks,

John H.


  • ScottDavisScottDavis USMember ✭✭

    Hello @JohnHardman did you ever find an answer to this?

  • JohnHardmanJohnHardman GBUniversity admin

    @ScottDavis - No - it hasn't been my highest priority so I haven't spent further time on it. I'd be interested to know if there are suitable APIs though. I'd rather use those as part of every run, rather than have to rely on using profiling tools when I have time.

Sign In or Register to comment.