This project is read-only.

Docking manager close memory leaks

Aug 16, 2011 at 3:58 PM

I have a big issue with memory leaks of this library. I use DockingManager in several windows. Always when I create new window and close it, process used memory goes higher and it's not released even after GC.Collect is called. I've created simple application, which displays and closes new window every second. This is the xaml of simple window:

<Window x:Class="AvalonDockMLTest.TestWindow"
Title="TestWindow" Height="329" Width="475">
<ad:DockingManager Name="dockingManager" Margin="0,0,0,0">
<ad:ResizingPanel Orientation="Horizontal">
 <ad:DockableContent Name="Test1" HideOnClose="False"></ad:DockableContent>     <!- problem is here -->

Every time  windows is created and closed, process used memory increases about 300kB. If I remove ad:DockableContent, everything is working ok and no memory leaks appear.

Any idea how to solve it?