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

Memery accululation with UserControls in RadTransition

1 Answer 24 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
Art Kedzierski
Top achievements
Rank 2
Art Kedzierski asked on 28 Mar 2011, 07:43 PM
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?

1 Answer, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 30 Mar 2011, 02:42 PM
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
Tags
TransitionControl
Asked by
Art Kedzierski
Top achievements
Rank 2
Answers by
Valeri Hristov
Telerik team
Share this question
or