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

Too much unmanaged memory

3 Answers 145 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
venureddy
Top achievements
Rank 1
venureddy asked on 13 Sep 2011, 02:16 PM
Hi,

My screen has Telerik controls like barchart+piechart+outlookbar+2 telerikgrids+dockpane.The screen works like below
1)on first load the data gets populated in first grid and all the charts get rendered.
2)when user clicks on a tab the second grid gets populated.

I have some stats from process explorer.

Silverlight App with Telerik Controls
Upon Frist Grid Load
Memory Usage 110 MB
VM usage 120 MB
CPU Usage 45-50% for 15-20 seconds
Upon Second Grid Load
Memory Usage 226 MB
VM usage 235 MB
CPU Usage 50-55% for 20-25 seconds


Also attached the screenshot generated from ANTS profiler.My problem is that ,if you look at the screenshot it shows too much unmanaged memory in use.Iam not sure which part of my screen or which control is causing this issue.

Could you please help me figure out whether there are any memory leaks w.r.t unmanaged memory.Even the Heap size is bit too much,because there isnt much data on the screen.

thanks
venu

3 Answers, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 19 Sep 2011, 09:32 AM
Hi Venureddy,

 We have encountered similar issue. Our investigation has shown that this issue is SL4 internal memory leak, which is caused by adding large number of elements in the visual tree. Unfortunately, we were unable find way to workaround this. Our tests indicated that issue is resolved in SL5.

What we can suggest as the only option is to add custom styles/templates that reduces the visual elements used and remove the unused ones.

Greetings,
Tsvyatko
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Glen
Top achievements
Rank 1
answered on 19 Sep 2011, 11:05 AM
How do your tests show this is resolved in SL5 when your controls don't work in SL5 RC?
0
Boyan
Telerik team
answered on 22 Sep 2011, 08:16 AM
Hello Glen,

Some of the controls were working just fine with SIlverlight 5 RC and we are also getting private builds from Microsoft with the latest builds of SL5 so all the problems with RC are now gone as Microsoft have fixed the issues we reported them that were breaking the backward compatibility.

Kind regards,
Boyan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
General Discussions
Asked by
venureddy
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Glen
Top achievements
Rank 1
Boyan
Telerik team
Share this question
or