- Home
- Forum
- Xamarin.Forms
- Memory leak of SfTabView control
Memory leak of SfTabView control
Hi all.
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 4.4.0.991537
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:
https://www.syncfusion.com/feedback/11701/memory-leak-in-sftabview
This fix will be included in our upcoming weekly Nuget release which is expected to be rolled out on 11th February 2020.
Please let us know if you have any concern.
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:
https://www.syncfusion.com/feedback/11701/memory-leak-in-sftabview
This fix will be included in our upcoming weekly Nuget release which is expected to be rolled out on 11th February 2020.
Please let us know if you have any concern.Regards,Hemalatha M.
Hello,was this fix released? I am testing with version 17.4.0.49 and I can still reproduce this problem.
Sorry for the inconvenience caused.
Due to some technical complexity, we could not include the fix for this issue in last weekly nuget release. We will include the fix for this issue in our Vol 1 2020 main release. Which is expected to be in end of March 2020. We appreciate your patience until then.
Regards,
Sakthivel P.
Hello,
Would be possible to have the solution for this issue "Memory leak in Tab View”. sooner than the end of March?
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.
Regards,
Sakthivel P.
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.
Regards,
Sakthivel P.
Hello,
Sorry for the delay.
We have fixed the reported issue of “TabView memory leak”, Please find the patch from below location.
Assemblies.
https://www.syncfusion.com/downloads/support/directtrac/general/ze/SfTabView726146198.zip
Assembly version : 17.4.0.46
Disclaimer:
Please note that we have created this patch for the version 17.4.0.46 specifically to resolve the issue reported in this.
This fix will be included in our Vol 1 2020 main release. Which is expected to be in end of March 2020.
Regards,
Sakthivel P.
- 8 Replies
- 5 Participants
-
KO Konstantin
- Jan 29, 2020 10:32 PM UTC
- Mar 11, 2020 11:29 AM UTC