Can the profiler display allocations of the unmanaged Android memory?

I see my Android app taking up a lot of memory (possibly due to bitmap allocations). The working set reported by Xamarin profiler is ~ 500Mb.
However, the managed memory and objects displayed are very tiny ~ 15Mb.

Is there a way to see the unmanaged memory corresponding to objects in the call stack? This will enable me to track down where the largest objects are being allocated so I can work on releasing / reducing the size.

Tagged:

Answers

  • RodrigoMoyaRodrigoMoya ESXamarin Team Xamurai

    No, unfortunately we only get managed data, we have a task in the plan to also attach to native profilers, but there's nothing so far I'm afraid. If the Xamarin Profiler shows that, maybe you should use a native profiler (Android Studio has one) and see what it shows.

Sign In or Register to comment.