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. Image for the cookie policy date

Memory issue on Chart - when constently updating the data (Live Chart)

hi,

I'm trying to make a live chart for power systems (Volts, Amperage, Watts) that holds 30 minutes data in a resolution of seconds.


In this test programm I'm using a rnd for generating data to simulate input.


If you let this run for 20 + minutes, the RAM usage skyrocks and never go down again, so i guess there might be a memory issue.


An example is attached


Attachment: ChartMemoryIssue_3bd602d.zip

4 Replies

SM Saravanan Madheswaran Syncfusion Team February 20, 2023 09:30 AM UTC

Hi Andreas,


We would like to let you know that we always suggest using fast line series for better performance. Please give it a shot by following the instructions below.


https://help.syncfusion.com/maui/cartesian-charts/fastline


Meanwhile, we will investigate the provided sample and return to you by tomorrow, February 21, 2023, with an update.


Regards,

Saravanan.



RR Raja Ramalingam Syncfusion Team February 21, 2023 12:44 PM UTC

Hi Andreas,


As we have suggested, while using the fast line series instead of the line series in the sample, we saw a noticeable improvement in performance. We are still validating the sample and replicating the same use case with the list view caching strategy. We will provide an update on or before Friday, February 24, 2023 once the validation is complete.


Regards,
Raja.



AN Andreas February 22, 2023 11:21 AM UTC

hy, yes fastseries is much better and stable, but still a little high on memory usage. but my immidiate problem will be solved by switching to fastline.


thx



RR Raja Ramalingam Syncfusion Team February 23, 2023 11:06 AM UTC

Hi Andreas,


Thanks for letting us know that switching to the fast line series has improved the performance of the chart. We are continually working on improving the performance of our control, and you can expect even better performance in our upcoming releases.


Best regards,

Raja.


Loader.
Live Chat Icon For mobile
Up arrow icon