-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Memory leak with CarouselView #17726
Copy link
Copy link
Closed
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewfixed-in-8.0.6Look for this fix in 8.0.6 SR1!Look for this fix in 8.0.6 SR1!perf/generalThe issue affects performance (runtime speed, memory usage, startup time, etc.) (sub: perf)The issue affects performance (runtime speed, memory usage, startup time, etc.) (sub: perf)perf/memory-leak 💦Memory usage grows / objects live forever (sub: perf)Memory usage grows / objects live forever (sub: perf)platform/androidt/bugSomething isn't workingSomething isn't working
Milestone
Metadata
Metadata
Assignees
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewfixed-in-8.0.6Look for this fix in 8.0.6 SR1!Look for this fix in 8.0.6 SR1!perf/generalThe issue affects performance (runtime speed, memory usage, startup time, etc.) (sub: perf)The issue affects performance (runtime speed, memory usage, startup time, etc.) (sub: perf)perf/memory-leak 💦Memory usage grows / objects live forever (sub: perf)Memory usage grows / objects live forever (sub: perf)platform/androidt/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done
Description
On android with
net8-rc.1, when navigating to a page containing aCarouselViewand then back, the memory usage grows.For comparison, no memory leak when navigating to a page containing a
CollectionViewwith the sameItemsSourceandItemTemplate.Steps to Reproduce
Gobutton, it will navigate to a page with aCollectionView.Gobutton, it will navigate to a page with aCarouselView.CarouselViewpage a few times. Between the first (memory-20.gcdump) and second (memory-24.gcdump), the memory usage increases quite a lot (the page is really simple).gcdump.zip
Link to public reproduction project repository
https://github.com/tranb3r/Issues/tree/main/MauiAppCarouselViewLeak
Version with bug
8.0.0-rc.1.9171
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 34
Did you find any workaround?
No workaround
Relevant log output
No response