You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform (please complete the following information):
OS: [iOS/Both?]
Device: [iPhoneSimulator/iPhoner/...]
Sdk vervion: [iOS 15.2]
.NET MAUI: [8.0.10-nightly.10215]
Describe the bug
When I use an ObservableRangeCollection with the Sharpnado CollectionView, which has any kind of NotifyCollectionChangedAction.Reset, e.g. in an .AddRange(..., NotifyCollectionChangedAction.Reset), I see rising memory consumption and finally a Crash of my App on my real device.
I am not sure if it is the Sharpnado CollectionView, but I just wanted to mention it in case there is an issue.
Use .AddRange(..., NotifyCollectionChangedAction.Reset) on an ObservableRangeCollection that is bound to a (Sharpnado) CollectionView and see the memory consumption rising. This can also be observed when the same option is used in a .RemoveRange(.., NotifyCollectionChangedAction.Reset) call a couple of times.
Platform (please complete the following information):
Describe the bug
When I use an
ObservableRangeCollection
with the SharpnadoCollectionView
, which has any kind ofNotifyCollectionChangedAction.Reset
, e.g. in an.AddRange(..., NotifyCollectionChangedAction.Reset)
, I see rising memory consumption and finally a Crash of my App on my real device.I am not sure if it is the Sharpnado
CollectionView
, but I just wanted to mention it in case there is an issue.I described this issue also on the .NET MAUI Issue page more detailled: Rising Memory Consumption leading to crashing App after a while when Utilizing NotifyCollectionChangedAction.Reset in ObservableRangeCollection
To Reproduce
Steps to reproduce the behavior:
.AddRange(..., NotifyCollectionChangedAction.Reset)
on anObservableRangeCollection
that is bound to a (Sharpnado)CollectionView
and see the memory consumption rising. This can also be observed when the same option is used in a.RemoveRange(.., NotifyCollectionChangedAction.Reset)
call a couple of times.CollectionView
is involved in there, but just mentioned it in caseExceptions (if applicable)
There is no StackTrace available
Screenshots (if applicable)
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: