-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[net7.0 / net8.0] [iOS] Memory leak when CollectionView.ItemsSource changes #14664
Description
Description
I am aware of the existence of the following bug #13530 but only mention is made of Windows, however in iOS the same memory leak problem also occurs when updating the ItemsSource of a CollectionView several times and the RAM memory is not released even by browsing backwards:
I leave a video playing an example repository where I can reproduce this problem in iOS until the application crashes due to lack of memory:
https://www.youtube.com/watch?v=_UTEGbE4-ug
I leave the repository that I show in the video so you can do the test:
https://github.com/nacompllo/MemoryLeakEverywhere/tree/bugfix/memoryLeakItemsSource
Steps to Reproduce
- Clone the following repository:
https://github.com/nacompllo/MemoryLeakEverywhere/tree/bugfix/memoryLeakItemsSource - Run the app on an iOS device.
- Have Xcode Instruments open to see how the RAM increases.
- Follow the same steps as in the attached video.
Link to public reproduction project repository
https://github.com/nacompllo/MemoryLeakEverywhere/tree/bugfix/memoryLeakItemsSource
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 16
Did you find any workaround?
No response
Relevant log output
No response
Depends on
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackProjects
Status
