MAUI Android Memory Profiling (Heapdump)

Edwood Able 0 Reputation points
2023-06-30T15:28:32.3333333+00:00

We have a memory leak in our MAUI Android app and are trying to find the cause of it. Xamarin.Profiler doesn't work anymore and I can't make a lot of sense of this documentation:

https://github.com/dotnet/maui/wiki/Profiling-.NET-MAUI-Apps

https://github.com/xamarin/xamarin-android/blob/main/Documentation/guides/tracing.md ("If running on desktop, you can use the dotnet-gcdump global tool" - I don't understand why they added this paragraph to "xamarin-android" documentation - no I'm obviously not running an Android app on desktop?!)

So are there any memory(!) profiling options? How can we find the cause of memory leaks?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,830 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.