I recently upgraded from 8.3 to 11.2 version of winforms components.
However, now I am experiencing severe memory leaks, because of the structure of the objects I am trying to databind. I have a list of task-objects that contain a list of another object which, in term, contains a list of the original task-objects. This causes the memory leak. Is there a way to solve this?
I have added an attachment which demonstrates the memory leak.
Hi,
I ran your sample, but I'm not sure I understand what the issue is. All this sample is doing is binding the WinGrid to a DataSource. There's nothing here that cleans up memory or calls GC.Collect. And there doesn't appear to be anything here that would track memory usage.
So what exactly is this sample intended to demonstrate?
Hi Mike,
When I (or one of my colleagues) run this sample (by clicking the button on the form) we experience a massive memory gain in the process.
I have just sent an empty list of object to the datasource because I wanted to demonstrate that even an empty list of objects generates the memory gain. (I have added a screenshot)
Can't you reproduce the problem?