Memory leak ?

2 posts, 0 answers
  1. Jean Ressouche
    Jean Ressouche avatar
    81 posts
    Member since:
    Aug 2012

    Posted 22 Aug 2011 Link to this post

    Dear Telerik team,

    i have a memory leak issue when using the RadTransitionControl with version 2011.1.419.1040.

    Here is the XAML, used into a empty usercontrol:

    <Grid x:Name="LayoutRoot">
            <telerik:RadTransitionControl x:Name="LblEffect">
                  <telerik:RollTransition />
                      <TextBlock HorizontalAlignment="Stretch" Foreground="White" Margin="5" Name="lbl_status" Text="{Binding Content, ElementName=LblEffect}" VerticalAlignment="Center">
                                <DropShadowEffect Direction="0" ShadowDepth="1" BlurRadius="4"/>

     In my .cs code, i have a DispatcherTimer, with this code :

    public void SwitchTick(object o, EventArgs sender)
        if (DataContext != null)
            LblEffect.Content = null;
            LblEffect.Content = ((ItemsClass) DataContext).Status; // (Status = simple String value)

    Do you think that my way is incorrect ? (to change the RadTransitionControl.content directly in the code etc..) 

    • The leak is really important (1Mo/s under normal usage, with 15 instances of this usercontrol on screen)
    • If i remove the RadTransitionControl, i don't leak at all
    • I want to keep the cool effects :D

    Thanks in advance !
  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 25 Aug 2011 Link to this post

    Hi Jean,

     We are not aware of memory leaks in the Docking control. Unfortunately I couldn't understand from the code you sent how do you test for memory leaks. Could you please share with us what makes you suspect that there is a memory leak related to this control and how do you test for memory leaks? If you could send us a sample project that reproduces the problem and some steps that will let us observe the problem this would help us investigate the problem and help you resolve it.

    Best wishes,
    Miroslav Nedyalkov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. DevCraft banner
Back to Top