Under the Hood of .NET Memory Management


Book Details
Authors | Chris Farrell, Nick Harrison |
Publisher | Red Gate |
Published | 2011 |
Edition | 1st |
Paperback | 214 pages |
Language | English |
ISBN-13 | 9781906434755, 9781906434748 |
ISBN-10 | 1906434751, 1906434743 |
License | Open Access |
Book Description
As well-engineered as the .NET framework is, it's not perfect, and it doesn't always get memory management right. To write truly fantastic software, you need to understand how .NET memory management actually works. This book will take you from the very basics of memory management, all the way to how the OS handles its resources, and will help you write the best code you can.
The .NET framework is a triumph of software engineering - a complex edifice of interlocking parts, so it's no wonder concrete information is a little hard to come by. For all that the framework is very good at what it does, it is not infallible, and a deeper understanding of how it works can only improve the quality of the code written by those in the know.
This book starts with an introduction to the core concepts of .NET memory management and garbage collection, and then quickly layers on additional details and intricacies. Once you're up to speed, you can dive into the guided troubleshooting tour, and tips for engineering your application to maximise performance. And to finish off, take a look at some more sophisticated considerations, and even a peek inside the Windows memory model.
Chris and Nick, with decades of development experience between them, and methodical approach, provide a clear, well-lit path into what has previously been misty and half-seen territory. There's much, much more they could have written, but we only have one book to fill, so consider this instead to be your first solid stepping stone.
This book is published as open-access, which means it is freely available to read, download, and share without restrictions.
If you enjoyed the book and would like to support the author, you can purchase a printed copy (hardcover or paperback) from official retailers.