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

LayoutControl memory leak (with demo)

1 Answer 215 Views
LayoutControl
This is a migrated thread and some comments may be shown as answers.
nidhal ben hamadou
Top achievements
Rank 1
nidhal ben hamadou asked on 14 Dec 2017, 11:48 AM

I am developing an application and I used LayoutControl , I noticed that the window persist in memory when I close it  , even if I use GC.Collect() to wake up garbage collector, there is a memory leaks concerning LayoutControl.  

Otherwise, if I put any other telerik component like RadGridView or RadMenu the window object is removed from the memory after closing .

Please help because I use  LayoutControl in 120 interfaces.

I use ANTS Memory Profiler 8 , Telerik UI for WPF R3 2017 SP1 , win7 sp1 x64 , visual studio 2013.

Demo application : https://drive.google.com/open?id=1jzyLK9w6YMURHIIF4dkDUxUbzJrBWWPU

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 19 Dec 2017, 10:55 AM
Hello Nidhal ,

Thank you for reporting this issue. We logged it in our feedback portal:

LayoutControl: Memory leak when at least one child element is added in the control

Since memory leaks are usually with higher priority and currently there is no easy way to work this around, we decided to include a fix in some of the next internal builds.

Regards,
Petar Mladenov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
LayoutControl
Asked by
nidhal ben hamadou
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or