Increase memory when selectionchanged RadTagItem

6 posts, 0 answers
  1. Lee
    Lee avatar
    30 posts
    Member since:
    Apr 2014

    Posted 06 Mar 2015 Link to this post

    Hi, I'm HeeJun Lee.

    My program is using 'RadTabControl'.

    To behaving selection of RadTabItem, program have more memory.

    When behaving with only code, memory is not increase.

    What should I do??

    Below my .XAML code source part.

    //------------------------------------------------------------------------------------------------------------------------------

    <telerik:RadTabControl VerticalAlignment="Stretch" DisplayMemberPath="Content" ScrollMode="Viewport" SelectedIndex="{Binding TagManager.TabIndex}" IsEnabled="{Binding TagManager.SelectionBusy}">
                    <i:Interaction.Triggers>
                        <i:EventTrigger EventName="SelectionChanged">
                            <i:InvokeCommandAction Command="{Binding TagManager.SelectionCommand}"
                                                   CommandParameter="{Binding Path=SelectedItem, RelativeSource={RelativeSource AncestorType={x:Type telerik:RadTabControl}}}"/>
                        </i:EventTrigger>
                    </i:Interaction.Triggers>                <telerik:RadTabItem Header="A" Width="80">
                        <view:StatusView />
                    </telerik:RadTabItem>                <telerik:RadTabItem Header="B" Width="80">
                        <view:StatusView />
                    </telerik:RadTabItem>                <telerik:RadTabItem Header="C" Width="80">
                        <view:AnalogView />
                    </telerik:RadTabItem>                <telerik:RadTabItem Header="D" Width="80">
                        <view:AnalogView />
                    </telerik:RadTabItem>                <telerik:RadTabItem Header="E" Width="80">
                        <view:AnalogView />
                    </telerik:RadTabItem>                <telerik:RadTabItem Header="F" Width="80">
                        <view:CountView />
                    </telerik:RadTabItem>                <telerik:RadTabItem Header="G" Width="80">
                        <view:CountView />
                    </telerik:RadTabItem>                <telerik:RadTabItem Header="H" Width="80">
                        <view:CountView />
                    </telerik:RadTabItem>
                </telerik:RadTabControl>

    //------------------------------------------------------------------------------------------------------------------------------
  2. Lee
    Lee avatar
    30 posts
    Member since:
    Apr 2014

    Posted 06 Mar 2015 in reply to Lee Link to this post

    Additionally, I think about that.

    When data binding, occure the problem.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 10 Mar 2015 Link to this post

    Hi HeeJun Lee,

    I would really like to assist you on your way but the problem is that I cannot understand you. Could you please clarify what you have in mind when saying:"To behaving selection of RadTabItem, program have more memory. When behaving with only code, memory is not increase."

    Are you referring to the physical memory that your application takes or you refer to the loading time? Also I could not understand what you need to say with your second post: "When data binding, occure the problem." Please elaborate more on that matter.

    If it would be easier for you, please reproduce the issue in a small repro project and send it over along with steps which reproduce the reported behavior. This will better help us to understand your scenario.

    Regards,
    Pavel R. Pavlov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  5. Joel
    Joel avatar
    53 posts
    Member since:
    Sep 2013

    Posted 17 Jun 2015 Link to this post

    Was it related to http://www.telerik.com/forums/radtabcontrol-memory-leaks-16fe6d2507ee? Has that been resolved?

     I am starting to dig into my codes to see how i can contain the ever increasing memory usage everytime a new Tab Item is added. Just need to ensure that it has nothing to do with RadTabControl

  6. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 18 Jun 2015 Link to this post

    Hello Joel Nathanael,

    The issue that you are referring has been fixed and currently there are no known memory leak issue with the RadTabControl. I am not sure what is your exact scenario and project set up but if you think that there is problem with the RadTabControl please do not hesitate to contact us. If you do I would suggest you to open a new thread and explain the problem that you are having there in detail. Doing so will help us better organize and track separate issues and provide each issue with the best possible solution.

    I hope this information helps.

    Kind regards,
    Kiril Vandov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  7. Joel
    Joel avatar
    53 posts
    Member since:
    Sep 2013

    Posted 18 Jun 2015 in reply to Kiril Vandov Link to this post

    Hi Pavel,

      Indeed the RadTabControl is free from memory leak issue. I have stripped off all user controls & stress test it by adding & removing the tab item repeatedly. It is working perfectly.

      I will create a new thread once i can identify where the leaks happens.... and i am closing in to the PanesSource binding of RadDocking

Back to Top
UI for WPF is Visual Studio 2017 Ready