Description
Book SynopsisUnderstand .NET memory management internal workings, pitfalls, and techniques in order to effectively avoid a wide range of performance and scalability problems in your software. Despite automatic memory management in .NET, there are many advantages to be found in understanding how .NET memory works and how you can best write software that interacts with it efficiently and effectively. Pro .NET Memory Management is your comprehensive guide to writing better software by understanding and working with memory management in .NET.
Thoroughly vetted by the .NET Team at Microsoft, this book contains 25 valuable troubleshooting scenarios designed to help diagnose challenging memory problems. Readers will also benefit from a multitude of .NET memory management rules to live by that introduce methods for writing memory-aware code and the means for avoiding common, destructive pitfalls.
What You''ll Learn
Table of Contents
1. Basic Concepts
2. Low-Level Memory Management
3. Memory Measurements
4. .NET Fundamentals
5. Memory Partitioning
6. Memory Allocation 7. Garbage Collection: Introduction
8. Garbage Collection: Mark Phase
9. Garbage Collection: Plan Phase
10. Garbage Collection: Sweep and Compact
11. GC Flavors
12. Finalization
13. Miscellaneous Topics 14. Advanced Techniques
15. Programmatical APIs