Memory Management Question
Posted on 2003-11-10
I have a form that is constantly loading different windows, dialogs, and switching the controls that are in a panel in the mainForm. It seems that memory is never getting freed for the popup dialogs until I minimize the application then maximize it. When I have been using it for a while, it takes up about 50 megs. When I minimize it, it takes up 2, when I maximize it again, it takes up about 12 megs in memory. As I start to open new Forms and what not, the memory keeps going up again. Do I need to set them to null after I am done using them?