We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

memory leak

 My syncfusion version is when I closed a tab or all tabs,the memory is not reduced. I went through some of the posts on the forum,but i can not resolve this issue,my code as below:

<syncfusion:TabControlExt x:Name="tab"









                    <i:EventTrigger EventName="OnCloseAllTabs">

                        <i:InvokeCommandAction Command="{Binding DataContext.CloseAllTabs, RelativeSource={RelativeSource AncestorType={x:Type Window}, Mode=FindAncestor}}" />


                    <i:EventTrigger EventName="OnCloseOtherTabs">

                        <i:InvokeCommandAction Command="{Binding DataContext.CloseOtherTabs, RelativeSource={RelativeSource AncestorType={x:Type Window}, Mode=FindAncestor}}" CommandParameter="{Binding SelectedItem, ElementName=tab}" />





                        <TextBlock Text="{Binding Content.DataContext.Title, RelativeSource={RelativeSource AncestorType={x:Type TabItem}}}" />




private void Tab_OnCloseButtonClick(object sender, Syncfusion.Windows.Tools.Controls.CloseTabEventArgs e)


            var datacontext = this.DataContext as MainWindowViewModel;

            datacontext.close((e.TargetTabItem as ContentControl).Content );


this method will remove view form prism region

  public void close(object obj)




I do not know where is the problem,please give me a help,thanks

5 Replies

HN Harinath Navaneethakrishnan Syncfusion Team November 28, 2022 06:31 AM

We have confirmed the reported scenario is a defect and logged a report for the reported scenario “Memory of the tabitem exists even after closing the tab”. We will include the fix in our Weekly NuGet release which is scheduled on 20th December 2022. 

You can track the status of this defect using the following feedback link:

Memory of the tabitem exists even after closing the tab in WPF | Feedback Portal (syncfusion.com)

If you have any more specification replication procedures or a scenario to be tested, you can add it as a comment in the portal.

Please let us know if you need any further assistance. 

Note: The provided feedback link is private, and you need to log in to view this feedback.

AC alvin chen replied to Harinath Navaneethakrishnan December 5, 2022 03:32 AM

Thanks very much for the reply , there is no more question,then i wait for the problem to be fixed, thanks again.

AC alvin chen replied to Harinath Navaneethakrishnan December 5, 2022 03:37 AM

I have logined,but i can not open this link,what is wrong?

Attachment: Snipaste_20221205_163409_fbcd7935.zip

HN Harinath Navaneethakrishnan Syncfusion Team December 5, 2022 05:45 AM

We have provided access to the feedback link to your credentials. So, please try clearing the cache and using an incognito window

AC alvin chen replied to Harinath Navaneethakrishnan December 5, 2022 07:14 PM


Live Chat Icon For mobile
Up arrow icon