SfChart Zooming using Memory

Hi,

I'm trying to use an SfChart with a ChartZoomPanBehavior, but when i'm zooming the chart use a lot of memory.
I'using a FastLineSerie an the memory goes  up to 700MB with 400points.

Is there a solution to limit the memory consumption ?

Thanks

8 Replies

EM Emil February 15, 2018 04:43 PM UTC

Hi,

is that on Android or IOS?


JT Julien Torrent February 16, 2018 07:27 AM UTC

Hi,

It works well on Android and IOS, but when I'm running it on UWP ( both release and debug ) the zooming take a lot of memory.

The problem seems to be on UWP only.




DS Durgadevi Selvaraj Syncfusion Team February 19, 2018 09:47 AM UTC

Hi Torrent, 
 
We have analyzed the reported problem based on the provided information but the memory increase is not up to the level what you have mentioned. But, there will be a slight increase in memory while performing zooming and that too will back to normal on zoom out. 
 
We have prepared a sample and video based on this and you can download it from below link, 
 
Please check the sample and let us know if you have configured anything else from our configuration we have done in the above sample. 
Also, we request you to provide some more details or if possible, please revert us with simple sample to reproduce this problem. It would be more helpful for us to provide a better solution sooner. 
 
Regards,  
Durgadevi S 



JT Julien Torrent February 19, 2018 12:56 PM UTC

Hi,

I've tried with a DateTimeAxis, but it seems when I'm zooming too close to the minimum unit the memory fills up very quickly.

Thanks

Attachment: ZoomingWithDates_cb578d94.zip


JT Julien Torrent February 22, 2018 11:25 AM UTC

Hi, 

After some tests, it only happens when i'm trying to zoom on a Chart that contains EmptyPoints. It happens only with UWP.
I've joined my test sample. 

Is there a solution to still use EmptyPoints ?

Thanks


Attachment: EmptyPointsZoom_11b3fea9.zip


DS Durgadevi Selvaraj Syncfusion Team February 23, 2018 02:48 PM UTC

Hi Torrent, 
 
Thanks for the update. 
 
We are able to reproduce this problem at our end. However, this can be resolved by replacing he FastLineSeries with FastLineBitmapSeries in UWP renderer project. 
 
You can download the modified sample from the below link, 

 
Could you please check the above sample and let us know whether this solution helps you to solve your problem at your end? 
 
Regards,  
Durgadevi S 



JT Julien Torrent February 23, 2018 02:58 PM UTC

Hi,

I have tried the solution and it solved my issue.


Thanks


DS Durgadevi Selvaraj Syncfusion Team February 26, 2018 04:11 AM UTC

Hi Torrent, 
 
We glad to know that your problem has been resolved. 
 
Please let us know if you required any further assistance on this. 
 
Regards, 
Durgadevi S 


Loader.
Up arrow icon