Jump to ratings and reviews
Rate this book

Under the Hood of .NET Memory Management

Rate this book
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.

238 pages, Paperback

First published December 19, 2011

9 people are currently reading
47 people want to read

About the author

Chris Farrell

30 books7 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
24 (43%)
4 stars
25 (45%)
3 stars
6 (10%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 6 of 6 reviews
Profile Image for Marcin Malinowski.
26 reviews13 followers
December 9, 2015
More an introduction than "in depth" book. Surprisingly easy read. Lacks at least one chapter about troubleshooting and diagnosing memory problems.
Profile Image for Dmitry.
189 reviews8 followers
April 25, 2020
Странная книга.
За первую половину я бы без колебаний поставил 5+: объяснение различий между режимами GC, два списка финализации, структура card table, выделение памяти во время сборки мусора - все это там есть.
Вторая часть(~80 страниц) вроде бы более практическая и содержит конкретную информацию: реализация паттерна Dispose, возможные утечках памяти в .NET(обработчики событий, незакрытые соединения etc) и общие рекомендации по разработке. Правда, если человек взял в руки книгу с таким названием, стоит ожидать, что базовые знания про value/reference-типы у него и так присутствуют, так что оттуда вы ничего не узнаете. Я уж и не говорю про примеры с Hashtable и SqlDataAdapter, которые устарели 15 и 10 лет назад соответственно.
Короткая глава в конце про windows memory model(на уровне что такое виртуальная память и как происходит трансляция адресов) вроде бы неплохая, но... короткая и смотрится довольно оторванно?
В целом рекомендую читать замечательную первую часть и заканчивать на этом.
Profile Image for Ngo Dat.
5 reviews
August 22, 2021
Fantastic! Depth understanding in .net memory and how to troubleshoot the performance and memory leak issues.
Profile Image for Erik.
4 reviews
June 5, 2012
I like the writers and how the cleary explain the more complex topics. However the book is sometimes poorly edited; there are for example pages of intro jammed in the index. In section 2, you also read similar parts as in section 1 although from a slight different angle (my guess is that it is written by the other author there).

Still, considering the first edition, I like the book and it brings clarity where very few people have done before.
14 reviews
February 12, 2016
Very fine to the details ,how memory allocated in heap and stack .Moreover lots of best practices to improve the performance and the underlying science is lucidly explained
Profile Image for Amhed.
38 reviews12 followers
September 10, 2014
Nice short read about memory management on the .net framework. Recommended for any C# developer
Displaying 1 - 6 of 6 reviews

Can't find what you're looking for?

Get help and learn more about the design.