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

v2016.3.914 Memory leak

1 Answer 10 Views
Toolbar
This is a migrated thread and some comments may be shown as answers.
Marcel
Top achievements
Rank 1
Marcel asked on 25 Nov 2016, 09:37 AM

Hello,
I'm using kendo ui in an angular (1.5.8) SPA and noticed a memory switching between 2 views.
View A: with kendo ui toolbar (without options, so no toolbar items).
View B: without kendo ui toolbar.
Switching from View A to View B and back to View A adds exactly 80 objects in memory (aprox. 4.2 kB).
Since i use the toolbar in a lot of views and nested views the memory usage over time goes up dramatically.
Calling the toolbar.destroy() on the destroy event of the angular component controller doesn't make any difference.
It looks like it has something to do with the overflow button which apparently gets a new data-uid every time and stays in the jquery tokencache.

Is this a known issue and/or how can this be fixed ?

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 29 Nov 2016, 10:59 AM
Hi Marcel,

This is not a known issue. Is it possible for you to provide a small Kendo Dojo example which demonstrates the issue so I can examine your exact scenario and assist you further?

If I understood correctly the problem will not occur if the ToolBar has resizable set to false, is that correctly?

Looking forward to your reply.

Regards,
Alexander Valchev
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.
Tags
Toolbar
Asked by
Marcel
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or