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

Memory leaks when using kendoLineargauge inside a grid

1 Answer 105 Views
Gauges
This is a migrated thread and some comments may be shown as answers.
Philippe
Top achievements
Rank 1
Philippe asked on 10 Apr 2017, 08:01 PM

Hi,

I have a grid with multiple gauges inside of it. The gauges represent measure values. Because the measures changes in real time I have to constantly reload the gauges with the new measures.Also, the user can decide that it doesn't want to display a specific measure, I have to reload them in this case too. 

So the only way that I found to do this is to create all my gauges and destroy them once I get the new measures values or when the user decide he doesn't want a measure anymore.

The problem is that I have a lot of memory leaks while doing this process again and again.

I manage to reproduce the bug on kendo dojo using random data (same behavior as my code)

memory leak dojo code

is there a way to avoid all that memory leaks.

ps : I use google chrome (use More tools>task manager  too see how many kb a tab is using)

Any help will be appreciated

1 Answer, 1 is accepted

Sort by
0
Stamo Gochev
Telerik team
answered on 13 Apr 2017, 12:33 PM
Hi Philippe,

I tried to reproduce the issue in Internet Explorer, but it is working as expected. However, the memory seems to be growing over time in Chrome (although it is being reduced and increased again).

This being said, you can log an issue for further investigation in the Kendo UI Core repository:

https://github.com/telerik/kendo-ui-core/issues

Regards,
Stamo Gochev
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Gauges
Asked by
Philippe
Top achievements
Rank 1
Answers by
Stamo Gochev
Telerik team
Share this question
or