This is a migrated thread and some comments may be shown as answers.

Memory leak by dynamic (online) chart

3 Answers 137 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Frederik
Top achievements
Rank 1
Frederik asked on 03 Jul 2014, 08:10 AM
Hallo,

in unserer Anwendung haben wir ein online Diagram eingebaut. Dabei werden die Daten alle zwei Sekunden aktualisiert und anschließend als linie dargestellt. Als Typ nutzen wir canvas. Uns ist aufgefallen dass der Speicher  nicht sauber freigegeben wird und mit der Zeit immer weiter hoch läuft. Wir haben unser online Diagramm drei tage lang laufen lassen. Der Speicher war am Anfang bei ca. 130MB und am Ende dann bei ca. 500MB. Wir haben die Demo Anwendung auf der Kendo UI Hompage ebenfalls drei Tage lang laufen lassen. Hier stieg der Speicher auch kontinuierlich hoch. Von 138MB zu 656MB. Warum läuft der Speicher hoch und warum wird der Speicher nicht sauber freigegeben?

http://demos.telerik.com/kendo-ui/chart-api/benchmark

3 Answers, 1 is accepted

Sort by
0
Frederik
Top achievements
Rank 1
answered on 03 Jul 2014, 08:15 AM
Hello, sorry here is the top query in English 

in our application we have built an online chart. The data is updated every two seconds and then displayed as a line. As type we use canvas. We noticed that the memory is not released cleanly and with time continues to run high. We have let our online chart run for three days. The store was in the beginning at about 130MB and then at the end at about 500MB. We have let the demo application on the Kendo UI homepage also for three days running. Here, the memory also increased continuously high. From 138MB to 656MB. Why the memory is running high and why the memory is not released clean? 

http://demos.telerik.com/kendo-ui/chart-api/benchmark 
0
Hristo Germanov
Telerik team
answered on 07 Jul 2014, 07:18 AM
Hi Frederik,

We need more time to investigate this issue and I will write you as soon as I fix it.

Thank you for the understanding.

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Hristo Germanov
Telerik team
answered on 28 Jul 2014, 10:12 AM
Hello Frederik,

After further investigation I think that there is no memory leak from our side. In Chrome the memory is rising but when you stop chart recreation the used memory will be released. Also the Chrome haven't good memory management for the SVG.

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
Frederik
Top achievements
Rank 1
Answers by
Frederik
Top achievements
Rank 1
Hristo Germanov
Telerik team
Share this question
or