Gauge is using a lot of memory and has a leak

Hello,

SfCircularGauge uses high amount of memory and when I navigate back from the page, it is not garbage collected. it is still in the memory.





I am using the gauge like stopwatch and it looks like that it  initiliazes PointerRenderer instead of reusing it. 



this snapshot below is taken on mainpage where I dont have SfCircularGauge. I took the snapshot after doing poptoroot. It looks like popping page doesnt help sfCircularGauge to be collected. 3518 count for scalerenderer is too high



2 Replies

EM Emil December 7, 2017 01:04 AM UTC

Hi,

I created a sample for you for reproduction. There is simple timer with the sfcirculargauge when I click the button on the mainpage, if you use xamarin profiler, you can see that every time gauge thicking , memory allocation is increasing. Please comment out sfgauge and enabled commented stacklayout with the labels and do the same test, you can see that memory allocation is not changing at all.

Thanks for your help.
Emil 

Attachment: ListViewSample_3aadcd7d.7z


SG Sri Gayathri Gopalakrishnan Syncfusion Team December 7, 2017 03:43 AM UTC

Hi Emil, 
Sorry for the inconvenience, 
We can reproduce the reported issue “Gauge is using lot of memory and has a leak" at our end. And we have logged a defect report regarding the same. A support incident to track the status of this defect has been created under your account.  
Please log on to our support website to check for further updates. 
Please get back to us if you need any other assistance. 
Regards, 
Sri Gayathri. G 


Loader.
Up arrow icon