Dispose function not working?

sathya.cs

Active member
Joined
May 24, 2009
Messages
31
Programming Experience
Beginner
Loading another form increases the memory usage of the application and after closing is not combing back to normal? dispose function at formclosed event is not doing that..How to reduce the memory usage in this case?
 
Stand by a mind reader will be with you shortly. But seriously, we have no idea what object you may be talking about.
 
Disposing an object has no direct effect on memory usage. A disposed object still exists in memory. I suggest that you do some reading on memory management, garbage collection and the GC class in managed code.
 
Back
Top