v2016.3.914 Memory leak

2 posts, 0 answers
  1. Marcel
    Marcel avatar
    42 posts
    Member since:
    Apr 2011

    Posted 25 Nov 2016 Link to this post

    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

  2. Alexander Valchev
    Alexander Valchev avatar
    2895 posts

    Posted 29 Nov 2016 Link to this post

    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.

    Alexander Valchev
    Telerik by Progress
    Kendo UI is ready for Visual Studio 2017 RC! Learn more.
Back to Top