Adam Essenmacher

Results 96 comments of Adam Essenmacher

Thank you @NiSHoW! This is just a recipe for heartache. A button in a View with its Command property bound to to a `MvxAsyncCommand` on a ViewModel will automatically have...

The `AutoDisconnectBehavior` from my memory toolkit appears to fix this issue on iOS and Android. You can give it a go on Windows and see if it helps: https://github.com/AdamEssenmacher/MemoryToolkit.Maui

@MartyIX I don't think so. Your Labels are getting GC'ed. It does seem like there's a memory leak in this sample though, so the slowdown could be related to that...

@jonmdev great questions. You've clearly done a ton of research, but still are still unclear on an ideal approach to ensure MAUI views are cleaned up properly. This underscores my...

> What are we SUPPOSED to do? I think, ideally, we're not _supposed_ to do anything. The GC is _supposed_ to clean things up for us. Handler authors aren't _supposed_...

I should be extra clear that I'm not proposing any actual fixes here. I've identified a problem in the propagating memory leaks, some major contributing causes, and a workaround. >...

@PureWeen thank you so much for your detailed and thoughtful reply. Your first-hand account fills in some massive blanks in my own understanding of the 'why' behind this issue. I've...

@PureWeen @jonathanpeppers I'm trying to see 'the forest for the trees' here. The _real_ issue at hand isn't the half-dozen common classes of MAUI leaks, or the dozens (maybe hundreds)...

I don't see a leak here. If you want to get the GC to behave deterministically, you need to call GC.Collect() several times.

https://github.com/AdamEssenmacher/MemoryToolkit.Maui That might help you track down where your leaks are happening.