VB.NET Memory Management
I have a project that consists of about 30 forms. I go from form to form and everytime i create a form I set it to Nothing and when I close the form I say Me.Dispose(). I also have a database connection which I also say .Dispose() when finished. Unfortunately the memory keeps increasing everytime I open a new form even though the previous form closes. Also if I say something = Nothing then the garbage collector should take care of it, right?
Thanx

MythicalMeRank #6,347 · 269 pointsPosted Dec 27, 2004, 9:42 PM EST
vidhya_bala200320 pointsPosted Dec 28, 2004, 2:02 AM EST
saphiroth4255 pointsPosted Dec 28, 2004, 4:07 AM EST
saphiroth4255 pointsPosted Dec 28, 2004, 5:41 AM EST
saphiroth4255 pointsPosted Dec 28, 2004, 6:13 AM EST
vidhya_bala200320 pointsPosted Dec 28, 2004, 6:40 PM EST
saphiroth4255 pointsPosted Dec 29, 2004, 4:04 AM EST