AD
Administrator
Syncfusion Team
May 12, 2005 01:56 AM UTC
If you run some memory profiling tool, do is show any undisposed Syncfusion objects?
Here is the scenario you described using a Windows Forms DataGrid instead of a GridControl.
http://www.syncfusion.com/Support/user/uploads/WindowsApplication5_ce957a69.zip
You see exactly the same behavior. When the 2nd form is opened, the memmory bumps up 5M. When the form is closed, the %M is not immediately released.
As another test, try openoing and closing the 2nd form 50 times. In both the attached sample, and in the sample with a GridControl, after 2 or three opens and closes, the memory load stabalizes and does not change. If it were a memory leak, you would expect it to grow linearly, wouldn''t you? And it does not.
I could be wrong, but what I think what you are seeing is just the dynamic nature of .NEt FrameWork memory management. Even if a framework object is disposed and the memory no longer in use by the object, the system does not reclaim the memory until it is needed.