Jonathan Peppers
Jonathan Peppers
@rmarinho just fyi @jpobst and @moljac are the ones to ask about these, thanks. It does kind of look like something went wrong here? Or we need to just mirror...
@moljac do you know if Xamarin.Google.ErrorProne.Annotations became a new dependency of Xamarin.Google.Android.Material?
> Btw: How do we profile memory allocations in MAUI on iOS and maccatalyst? Xamarin. Profiler does not work for the MAUI applications. I wrote a thing to be able...
@danardelean you might try Instruments, but it will likely only tell you if memory is growing and not what objects. I saw an interesting sample here: https://github.com/ivan-todorov-progress/maui-collection-view-memory-leak-bug You can try...
@danardelean you should review my recent PRs and the tests I'm adding, lol.
It could be one of these actual memory leaks: * https://github.com/dotnet/maui/pull/13260 * https://github.com/dotnet/maui/pull/13327 * https://github.com/dotnet/maui/pull/13333 * https://github.com/dotnet/maui/pull/13400 * https://github.com/dotnet/maui/pull/13530 * https://github.com/dotnet/maui/pull/13550 * https://github.com/dotnet/maui/pull/13656 I will retest this one after #13656...
In the sample above, I just changed: ```csharp private async void OnCounterClicked(object sender, EventArgs e) { GC.Collect(); GC.WaitForPendingFinalizers(); await Shell.Current.GoToAsync($"/{nameof(SecondPage)}"); } ``` And I consistently only see 1 or 2...
I can also reproduce it if I remove the Shell Route, and just do `Navigation.PushAsync(new SecondPage());`. So this must be something that happens for all `Page`'s.
@grendello is this a new one? @LoopedBard3 I'm guessing if you pass `-p:AndroidEnableMarshalMethods=false` then this project builds fine?
@jfversluis I believe this is showing .NET 8 MAUI apps crash when they try to run the [.NET performance pipeline](https://aka.ms/dotnetperfstatus). I don't think we should move it to the backlog?