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

RadComboBox and RadTreeView with context menus - memory leak!

6 Answers 123 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shukhrat Nekbaev
Top achievements
Rank 1
Shukhrat Nekbaev asked on 09 Mar 2011, 06:38 PM
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

6 Answers, 1 is accepted

Sort by
0
egoren
Top achievements
Rank 1
answered on 25 Mar 2011, 02:50 PM
We are having the same problem.
0
Luis Barahona
Top achievements
Rank 1
answered on 23 May 2011, 09:32 PM
anyone?
0
Shukhrat Nekbaev
Top achievements
Rank 1
answered on 24 May 2011, 11:26 AM
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!
0
Orin Book
Top achievements
Rank 1
answered on 02 Jun 2011, 05:06 PM
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.
0
Shukhrat Nekbaev
Top achievements
Rank 1
answered on 03 Jun 2011, 07:52 AM
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
0
Simon
Telerik team
answered on 07 Jun 2011, 01:07 PM
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.

Tags
General Discussions
Asked by
Shukhrat Nekbaev
Top achievements
Rank 1
Answers by
egoren
Top achievements
Rank 1
Luis Barahona
Top achievements
Rank 1
Shukhrat Nekbaev
Top achievements
Rank 1
Orin Book
Top achievements
Rank 1
Simon
Telerik team
Share this question
or