Some interesting articles about .NET Garbage Collector (i.e. GC):
General documentation
- Fundamentals of Garbage Collection: https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/fundamentals
- Garbage Collection Design: https://github.com/dotnet/coreclr/blob/master/Documentation/botr/garbage-collection.md
- Everything you need to know about .NET memory by Ben Emmett: https://vimeo.com/113632451
- Learning How Garbage Collectors Work: http://mattwarren.org/2016/02/04/learning-how-garbage-collectors-work-part-1/
- How does the GC work and what are the sizes of the different generations?: https://blogs.msdn.microsoft.com/tess/2008/04/17/how-does-the-gc-work-and-what-are-the-sizes-of-the-different-generations/
- .NET Memory usage – A restaurant analogy: https://blogs.msdn.microsoft.com/tess/2006/09/06/net-memory-usage-a-restaurant-analogy/
GC settings available from framework 4.5
- The .NET Framework 4.5 includes new garbage collector enhancements for client and server apps: https://blogs.msdn.microsoft.com/dotnet/2012/07/20/the-net-framework-4-5-includes-new-garbage-collector-enhancements-for-client-and-server-apps/
- Latency Modes: https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/latency
Visualising the .NET Garbage Collector
- Understanding different GC modes with Concurrency Visualizer: https://blogs.msdn.microsoft.com/seteplia/2017/01/05/understanding-different-gc-modes-with-concurrency-visualizer/
- Visualising the .NET Garbage Collector: http://mattwarren.org/2016/06/20/Visualising-the-dotNET-Garbage-Collector/
- Visualizing Garbage Collection Algorithms: https://spin.atomicobject.com/2014/09/03/visualizing-garbage-collection-algorithms/
Preventing GC or Pause GC
- Analysing Pause times in the .NET GC: http://mattwarren.org/2017/01/13/Analysing-Pause-times-in-the-.NET-GC/
- Preventing .NET Garbage Collections with the TryStartNoGCRegion API: http://mattwarren.org/2016/08/16/Preventing-dotNET-Garbage-Collections-with-the-TryStartNoGCRegion-API/
- GC Pauses and Safe Points: http://mattwarren.org/2016/08/08/GC-Pauses-and-Safe-Points/
- Using “Object Pooling” method: http://mattwarren.org/2017/01/13/Analysing-Pause-times-in-the-.NET-GC/
Other articles
- IDisposable pattern: http://blog.nuclex-games.com/tutorials/idisposable-pattern/
- Making .NET code less allocatey – Allocations and the Garbage Collector: https://blog.maartenballiauw.be/post/2016/10/19/making-net-code-less-allocatey-garbage-collector.html
Tout aussi intéressant : la gestion de la mémoire dans le framework .net :http://prodotnetmemory.com/data/netmemoryposter.pdf ainsi que le livre à paraître : http://prodotnetmemory.com