Welcome to MSDN Blogs Sign in | Join | Help

September 2007 - Posts

Additional information on the garbage collector and weak references

I received some feedback on my previous post A good reason for calling GC.Collect() basically saying that I omitted certain details on the garbage collector and weak references. I won't argue that - it is certainly true. However, it wasn't my intention
Posted by ddietric | 0 Comments
Filed under: ,

A good reason for calling GC.Collect()

You've probably heard that you should not call GC .Collect() and generally speaking this is absolutely correct. Yes, there are probably exceptions to that rule but unless you know for sure that calling GC .Collect() will improve the runtime behavior of
 
Page view tracker