Memery accululation with UserControls in RadTransition

2 posts, 0 answers
  1. Art Kedzierski
    Art Kedzierski avatar
    107 posts
    Member since:
    Nov 2009

    Posted 28 Mar 2011 Link to this post

    I have a monitor board application which is simply a full-screen Window with a single RadTransition container in it. I have defined a number of UserControls, each essentially a screen with data-driven reports. The application cycles through a number of these screens continuously during the day, with data refreshing every 15 minutes. My problem is that as the screen cycles, the application grows in memory slightly but continuously until eventually (after eight hours or so) it crashes from lack of memory.

    How can I make sure that the previous UserControl is well and truly unloaded and its resources released after a new control is loaded in the RadTransition control?
  2. Valeri Hristov
    Valeri Hristov avatar
    2252 posts

    Posted 30 Mar 2011 Link to this post

    Hi Art,

    We are not aware of memory leaks in RadTransitionControl, so I suppose the problem most probably is in your code. RadTransitionControl could be used as a simple ContentControl, so if you do not keep references to the unloaded UserControls, the memory should be automatically freed.

    A simple project that represents your application and that could be used to debug the memory leak would be of great help finding the source of the problem.

    Best wishes,
    Valeri Hristov
    the Telerik team
Back to Top