jazzdrive3
IS-IT--Management
Our C# application currently involves opening a form and closing that form as a regular action. However, everytime we close the form, if you look in the task manager, you can see the memory usage go up about 50 MB. The windows page file usage goes up as well.
If we do this about 40 - 50 times, we get an OutOfMemory exception, and the program crashes. We suspect that the GC cannot free the resources, as something may still be subscribed to the form, and keep the memory from being reallocated.
Is there a debugging tool that could help us track this down? It's like looking for a needle in a haystack. We're using VS.NET 2005.
Thanks.
If we do this about 40 - 50 times, we get an OutOfMemory exception, and the program crashes. We suspect that the GC cannot free the resources, as something may still be subscribed to the form, and keep the memory from being reallocated.
Is there a debugging tool that could help us track this down? It's like looking for a needle in a haystack. We're using VS.NET 2005.
Thanks.