Hi all,
Currently running 12.2 Windows Forms components. While running our app in a memory profiler, I've noticed the creation of a number of MdiMergePlaceholderTools and InstanceProps that are not released after closing the window being tested. After repeated runs the number of these tools steadily increases and they do not ever seem to be disposed. The same number of InstanceProps objects are being created, so it seems these tools also have instance props.
According to the help site, the MdiMergePlaceholderTool is "created internally as a wrapper to a merged tool from an MDI child". I tried setting MdiMergable to false in our ToolbarManager, but this did not seem to have an effect.
Are these tools created in other components? Do I need to do anything specific to get these released?
Thanks
EDIT: I accidentally posted this in the wrong section. Please move to the appropriate topic. Thanks!
Correction, setting MdiMergable to false DID prevent the creation of the tools. However, this may be an option we want. Is additional action required to have the tools disposed?
Hello,
Could you please let me know the exact version of Infragistics that you are using (the exact service release of Infragistics 12.2), also please let me know which tool for memory profiling you have used. I have made some base tests with Infragistics 12.2 SR 2061 and have used ANTS Memory Profiler 7.0 and on a first glance there is nothing embarrassing. Please see attached sample, also please modify my sample in order to demonstrat your issue and let me know if I am missing something.
I am waiting for your feedback.