If you stick to standard coding in .NET, is there reason to manually invoke the GC or run finalizers
Posted
by Matt
on Stack Overflow
See other posts from Stack Overflow
or by Matt
Published on 2010-05-24T22:37:48Z
Indexed on
2010/05/24
22:41 UTC
Read the original article
Hit count: 204
.NET
|garbage-collection
If you stick to managed code and standard coding (nothing that does unconventional things withe CLR) in .NET, is there any reason to manually invoke the GC or request to run finalizers on unreferenced objects?
The reason I ask is thaty I have an app that grows huge in Working Memory set. I'm wondering if calling
System.GC.Collect();
and
System.GC.RunFinalizers();
would help, and if it would force anything that wouldn't be done by the CLR normally anyways.
© Stack Overflow or respective owner