G
Guest
Can someone explain what I understood wrong.
I thought that the Framwork garbage collection takes care of the memory
management in a DotNet application.
I have however an application that keeps eating up memory and not releasing
it, to the point where all the resources of the computer are consumed.
Example, I open up a MDI child windows that has all kinds of object. When I
monitor this in Task Manager, I can see that the amount of memory my
application is consuming increases when the window is opened, but when I
dispose the window tha amount is not decreased.
Where did I go wrong. As far as I can tell the application uses only managed
resources nad dataconnections to SQL server
Petri
I thought that the Framwork garbage collection takes care of the memory
management in a DotNet application.
I have however an application that keeps eating up memory and not releasing
it, to the point where all the resources of the computer are consumed.
Example, I open up a MDI child windows that has all kinds of object. When I
monitor this in Task Manager, I can see that the amount of memory my
application is consuming increases when the window is opened, but when I
dispose the window tha amount is not decreased.
Where did I go wrong. As far as I can tell the application uses only managed
resources nad dataconnections to SQL server
Petri