A Few Good GC Links


I keep a GC folder in my Favorites full of links to articles and blog posts about the .NET GC.  I thought it would be a good idea to consolidate them all into one blog post, for handy reference.  These are the articles I most often post as answers to questions on public newsgroups.
 
If you know of any other good ones, please post them in the comments!  If you find some totally erroneous articles, point them out too.

GC Overview and Best Practices:
 
http://msdn.microsoft.com/msdnmag/issues/1100/gci/
http://msdn.microsoft.com/msdnmag/issues/1200/GCI2/default.aspx
Garbage Collection (parts 1 & 2): Automatic Memory Management in the Microsoft .NET Framework
Jeffrey Richter

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconfinalizedispose.asp
Implementing Finalize and Dispose to Clean Up Unmanaged Resources
.NET Framework General Reference

http://blogs.msdn.com/cbrumme/archive/2004/02/20/77460.aspx
Finalization
Chris Brumme

http://blogs.msdn.com/cbrumme/archive/2003/04/15/51319.aspx
Turning off the garbage collector
Chris Brumme

Performance:
 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dotnetGCbasics.asp
Garbage Collector Basics and Performance Hints
Rico Mariani

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenetchapt05.asp
Improving .NET Application Performance and Scalability: Chapter 5 — Improving Managed Code Performance
J.D. Meier, Srinath Vasireddy, Ashish Babbar, Rico Mariani, and Alex Mackman

http://weblogs.asp.net/ricom/archive/2003/12/04/41281.aspx
Mid-life crisis
Rico Mariani

http://weblogs.asp.net/ricom/archive/2003/12/02/40780.aspx
Two things to avoid for better memory usage
Rico Mariani

http://blogs.msdn.com/maoni/archive/2004/06/15/156626.aspx
http://blogs.msdn.com/maoni/archive/2004/09/25/234273.aspx
Using GC Efficiently – Parts 1 & 2
Maoni Stephens

Edit: Added link to Maoni’s GC posts.

Comments (7)

  1. Daniel Moth says:

    … and if you are developing for the Compact Framework (where things are always different), the best GC referecne is this blog entry:

    http://blogs.msdn.com/stevenpr/archive/2004/07/26/197254.aspx

  2. Chris Lyon says:

    Great link Daniel. I guess I should make it clear that I don’t work on the Compact Framework or Rotor (but I am learning, so hopefully I’ll be able to answer more questions).

  3. Chris Lyon’s WebLog: A Few Good GC Links…

  4. Ash says:

    Has anyone seen this phenomenon where garbage collection is triggered when switching to a task (which is accumulating memory) using the task manager ?