
I run Sample Browser under VS debuger. Set the breakpoint at Actipro Software\WPFStudio\v9.1.0502\SampleBrowser\ProductSamples\DockingSamples\Demo\Features\MainControl.xaml.cs, line 210:
private void LoadLayout() {
new DockSiteLayoutSerializer().LoadFromString(layoutTextBox.Text, dockSite);
}
And got it each time menu File->Load Layout selected. When press F10 (Step Over) I can see in the output something like:
'SampleBrowser.vshost.exe' (Managed): Loaded 'ljmknyvs'
Each time the name of the module(?) is different. After that I can observe this module in the modules list and it is never unloaded.
We are running an automative test on our UI application which Load/Save layouts intensively. After 5-6 hours of working the application failed with OutOfMemory exception. I can observe at about 2500 such a pseudo-modules loaded at this moment.
1. Could it be a reason of out of memory?
2. How to properly Load/Save layouts, so these pseudo-modules could be unloaded?
private void LoadLayout() {
new DockSiteLayoutSerializer().LoadFromString(layoutTextBox.Text, dockSite);
}
And got it each time menu File->Load Layout selected. When press F10 (Step Over) I can see in the output something like:
'SampleBrowser.vshost.exe' (Managed): Loaded 'ljmknyvs'
Each time the name of the module(?) is different. After that I can observe this module in the modules list and it is never unloaded.
We are running an automative test on our UI application which Load/Save layouts intensively. After 5-6 hours of working the application failed with OutOfMemory exception. I can observe at about 2500 such a pseudo-modules loaded at this moment.
1. Could it be a reason of out of memory?
2. How to properly Load/Save layouts, so these pseudo-modules could be unloaded?