J
Jessica
I have noticed a memory leak in the .NET TreeView control when the
CheckBoxes property is set to true. It only happens when a treeview
is on a form that is loaded and then unloaded. I created a small
program to test this where I had a button that loaded a form with a
treeview on it. When CheckBoxes is set to false and I load and unload
the form about 20 times, the memory use stabilizes. When CheckBoxes
is set to true and I load and unload the form many times, the memory
use just keeps going up.
Is this a known issue? Has anyone else seen this? Any ideas for a
workaround? I haven't found one yet.
Thanks,
Jessica
CheckBoxes property is set to true. It only happens when a treeview
is on a form that is loaded and then unloaded. I created a small
program to test this where I had a button that loaded a form with a
treeview on it. When CheckBoxes is set to false and I load and unload
the form about 20 times, the memory use stabilizes. When CheckBoxes
is set to true and I load and unload the form many times, the memory
use just keeps going up.
Is this a known issue? Has anyone else seen this? Any ideas for a
workaround? I haven't found one yet.
Thanks,
Jessica