Too much unmanaged memory

4 posts, 0 answers
  1. venureddy
    venureddy avatar
    2 posts
    Member since:
    Aug 2011

    Posted 13 Sep 2011 Link to this post

    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

  2. Tsvyatko
    Admin
    Tsvyatko avatar
    863 posts

    Posted 19 Sep 2011 Link to this post

    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 >>

  3. Glen
    Glen avatar
    17 posts
    Member since:
    Aug 2010

    Posted 19 Sep 2011 Link to this post

    How do your tests show this is resolved in SL5 when your controls don't work in SL5 RC?
  4. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 22 Sep 2011 Link to this post

    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 >>

Back to Top