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:
https://msdn.microsoft.com/msdnmag/issues/1100/gci/
https://msdn.microsoft.com/msdnmag/issues/1200/GCI2/default.aspx
Garbage Collection (parts 1 & 2): Automatic Memory Management in the Microsoft .NET Framework
Jeffrey Richter
https://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
https://blogs.msdn.com/cbrumme/archive/2004/02/20/77460.aspx
Finalization
Chris Brumme
https://blogs.msdn.com/cbrumme/archive/2003/04/15/51319.aspx
Turning off the garbage collector
Chris Brumme
Performance:
https://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dotnetGCbasics.asp
Garbage Collector Basics and Performance Hints
Rico Mariani
https://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
https://weblogs.asp.net/ricom/archive/2003/12/04/41281.aspx
Mid-life crisis
Rico Mariani
https://weblogs.asp.net/ricom/archive/2003/12/02/40780.aspx
Two things to avoid for better memory usage
Rico Mariani
https://blogs.msdn.com/maoni/archive/2004/06/15/156626.aspx
https://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
- Anonymous
September 14, 2004
... 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 - Anonymous
September 14, 2004
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). - Anonymous
October 13, 2004
Chris Lyon's WebLog: A Few Good GC Links... - Anonymous
December 20, 2005
Has anyone seen this phenomenon where garbage collection is triggered when switching to a task (which is accumulating memory) using the task manager ? - Anonymous
January 21, 2009
PingBack from http://www.keyongtech.com/601333-garbage - Anonymous
June 19, 2009
PingBack from http://debtsolutionsnow.info/story.php?id=2475