|151070||Jan 29,2020 10:32 PM UTC||Mar 11,2020 11:29 AM UTC||Xamarin.Forms||8|
I discovered a memory leak of SfTabView control. I used a simple test app with two pages. The second page contains only tabview with 2 empty tabs. I wrote a loop for navigation from first page to second one and back about 30 times.
The memory consumption increases with every next navigation forth and back, starting from a couple megabytes up to tens megabytes.
Then I deleted SfTabView control from the second page to make it absolutely clean, and repeated the test. In this case there’s no memory leak.
More over, If tabs of tabview contain inner content, the memory leak increases in geometrical progression. Although test with that content w/o tabview control doesn’t cause the memory leak.
In my real app I have a tabview with 4 tabs. Each tab contains a listview with hundreds of items (labels and images). After a series of navigation to and from, memory consumption increases up to several hundreds of megabytes. The app becomes unresponsive and finally crashes.
Tested on the Samsung Galaxy Note 10 Plus, Android 10.
Xamarin Forms version 126.96.36.1991537Syncfusion version 188.8.131.52
Hi Konstantin,Greetings from Syncfusion.
We have analyzed your query and we could able to reproduce the reported issue of “Memory leak in Tab View”. We have logged a defect report regarding on this and it can be tracked through our feedback portal below.
Feedback portal:Regards,Hemalatha M.
Would be possible to have the solution for this issue "
Hi Viseo, Konstantin,
Thanks for your update.
Since the issue are having also in Xamarin forms custom controls, we will analyze more and fix this issue. We will fix and provide patch for this on March 10th, 2020.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.