RadComboBox and RadTreeView with context menus - memory leak!

7 posts, 0 answers
  1. Shukhrat Nekbaev
    Shukhrat Nekbaev avatar
    73 posts
    Member since:
    Oct 2010

    Posted 09 Mar 2011 Link to this post

    Hi,

    Issue is that when there is RadComboBox inside update panel, memory leak occurs, same as if there is a TreeView control with context menus (this is important) enabled. Below I provide a link to a tool I used to profile, also a link to stand-alone web app project that reproduces the issue. Once the radcombobox is commented out and I remove context menus template from treeview - memory leak doesn't occur anymore. I'm using latest controls 2010.3.13.17.40 and web app is asp.net 4.0

    Project details: you might need to add reference to Telerik.Web.UI.dll. (project is messy, cause it's a testing sandbox, also it's set up to run on my IIS 7.5 as localhost:1234 <- you will need to change this)

    Next, profile (click some buttons, do drag'n'drop treeview elements) the page with given tool, you will see leaks count and browser memory consumption will be constantly increasing.

    How to stop leaking:
    go to: MainHeader.ascx and fully comment out <telerik:RadComboBox ID="ddlOwnProjects" runat="server"
    then go to: Default.aspx and comment out <ContextMenus> for <telerik:RadTreeView ID="tree" runat="server"

    rebuilt site, restart profiling application (totally restart to reset #leaks), click on buttons, try drag'n'drop tree items - #leaks - will remain 0.

    I'm developing fully ajaxified asp.net 4.0 application and leaks there increase ~100-200 objects per single postback, slowly-slowly browser starts consuming more and more memory.

    Please verify this and let's find the solution.
    Thank you!

    Link to the web app: leaking project
    IE Sieve from http://home.orange.nl/jsrosman/

    P.S.: would be great to have opportunity to upload zip files directly here
  2. egoren
    egoren avatar
    11 posts
    Member since:
    Apr 2009

    Posted 25 Mar 2011 Link to this post

    We are having the same problem.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Luis Barahona
    Luis Barahona avatar
    23 posts
    Member since:
    Feb 2005

    Posted 23 May 2011 Link to this post

    anyone?
  5. Shukhrat Nekbaev
    Shukhrat Nekbaev avatar
    73 posts
    Member since:
    Oct 2010

    Posted 24 May 2011 Link to this post

    Hi,

    this issue was addressed as support ticket, yes, they did fixes, release 2011.1 519 (May 19, 2011) should contain the updates (you can also see it in changelog).
    As for myself, I have updated to this version but yet didn't have time to verify if problem still exists.

    Thx!
  6. Orin Book
    Orin Book avatar
    54 posts
    Member since:
    Sep 2006

    Posted 02 Jun 2011 Link to this post

    We have installed the latest,  2011.1 519 (May 19, 2011). We definitely have a memory leak. I am asking our people to research as a manager I am not skilled enough. However, users have reported sluggish page loads after sometime and we can watch the resource monitor memory being consumed just paging back and forth between two screens, A rad grid and a display page with combos, menus and calendars. After 1 hour, a user consumed 900 MB in IE 7 memory and we have also duplicated effect.
  7. Shukhrat Nekbaev
    Shukhrat Nekbaev avatar
    73 posts
    Member since:
    Oct 2010

    Posted 03 Jun 2011 Link to this post

    Hi,
    yeah, now I also have latest controls, unfortunately, site loaded in tool (sIEve-0.0.8) doesn't look like it's rendered with IE7 engine  anymore maybe because I have installed IE9. I see huge leaks count and mem size increase.

    Though I will try to make some isolated sand box project again to check out separate controls, it could be that I messed up something (I have dynamic control loaded that are wrapped and contain several update panels, around 8-9 atm per 'view') :)
    Will let you know by mid of next week.
    Thx
  8. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 07 Jun 2011 Link to this post

    Hello guys,

    @Shukrat sIEve is not a reliable too just because of the issues such as the one you have encountered. There is another tool, which is far better in performance and in accuracy - JavaScript Memory Leak Detector (v2). Please try it out to see the results for yourself.

    @Orin We have fixed the memory leak in RadComboBox, so it is very likely the rest of the controls on the page in question are leaking memory. Observing browser memory is a good way of detecting abnormal memory consumption, still an in-depth analysis is required to find the causes. I suggest you open a support ticket and send us a sample project, which exhibits the potential memory leak.

    All the best,
    Simon
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017