I have discovered that the SFlistView in landscape mode when you scroll to move between the elements has memory leaks and even if you navigate backwards this memory is never freed which causes the app to crash sooner or later because it consumes more RAM than it has available. I have prepared a simple example so that you can reproduce it, but the more complex the DataTemplate of the SFlistView is, the more obvious this problem is:
https://github.com/nacompllo/MemoryLeakEverywhere/tree/bugfix/memoryLeakSyncfusion
I have also prepared a video where you can clearly see that RAM is never released:
https://www.youtube.com/watch?v=c0e325Yx-wU
Note: However, the same sample with a CarouselView does not have memory leaks, it only happens with the SFlistView in horizontal mode.
Steps to Reproduce:
- Clone the following repository:
https://github.com/nacompllo/MemoryLeakEverywhere/tree/bugfix/memoryLeakSyncfusion
- 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.