We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Memory leak of SfTabView control

Thread ID:

Created:

Updated:

Platform:

Replies:

151070 Jan 29,2020 10:32 PM UTC Mar 11,2020 11:29 AM UTC Xamarin.Forms 8
loading
Tags: SfTabView
Konstantin
Asked On January 29, 2020 10:32 PM UTC

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

Syncfusion version 17.4.0.44

Hemalatha Marikumar [Syncfusion]
Replied On January 31, 2020 01:01 PM UTC

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. 


Tamas Cons
Replied On February 17, 2020 04:34 PM UTC

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.

Thanks,Norbert

Sakthivel Palaniyappan [Syncfusion]
Replied On February 18, 2020 05:26 AM UTC

Hi Norbert,

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. 


Viseo Consulting SL
Replied On February 20, 2020 04:27 PM UTC

Hello,


Would be possible to have the solution for this issue "Memory leak in Tab View”. sooner than the end of March?

We have an application in production which is affected by this issue, which is leading the application to many crashes.

Even a workaround would be appreciate.

Thanks and reagrds

Viseo

Konstantin
Replied On February 20, 2020 04:37 PM UTC

I think it's no workaround here. More over, I have checked some XF's out-of-the-box controls, and some of them also have memory leaks. It's just a total failure...
Recently I found an interesting discussion with XF team about memory leaks. It seems the problem is unresolvable at all.


At the moment I'm in doubt to use the XF in production.

Sakthivel Palaniyappan [Syncfusion]
Replied On February 21, 2020 10:14 AM UTC

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.


Tamas Cons
Replied On March 11, 2020 07:24 AM UTC

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,

was this fix released as promised yesterday?

Sakthivel Palaniyappan [Syncfusion]
Replied On March 11, 2020 11:29 AM UTC

Hi Tamas,

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.




CONFIRMATION

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon