Skip to main content
  • Book
  • © 2018

Pro .NET Memory Management

For Better Code, Performance, and Scalability

Apress

Authors:

  • Takes a deep dive into .NET memory management, including comprehensive coverage of how .NET memory works, implementation details, possible pitfalls, and ways to work around them
  • Helps readers understand the internal workings of the .NET framework and how they can work with it more effectively
  • Includes practical applications and code examples at every step

Buy it now

Buying options

Softcover Book USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Table of contents (15 chapters)

  1. Front Matter

    Pages i-xxxi
  2. Basic Concepts

    • Konrad Kokosa
    Pages 1-63
  3. Low-Level Memory Management

    • Konrad Kokosa
    Pages 65-125
  4. Memory Measurements

    • Konrad Kokosa
    Pages 127-231
  5. .NET Fundamentals

    • Konrad Kokosa
    Pages 233-338
  6. Memory Partitioning

    • Konrad Kokosa
    Pages 339-409
  7. Memory Allocation

    • Konrad Kokosa
    Pages 411-505
  8. Garbage Collection - Introduction

    • Konrad Kokosa
    Pages 507-574
  9. Garbage Collection - Mark Phase

    • Konrad Kokosa
    Pages 575-622
  10. Garbage Collection - Plan Phase

    • Konrad Kokosa
    Pages 623-658
  11. Garbage Collection - Sweep and Compact

    • Konrad Kokosa
    Pages 659-685
  12. GC Flavors

    • Konrad Kokosa
    Pages 687-742
  13. Object Lifetime

    • Konrad Kokosa
    Pages 743-819
  14. Miscellaneous Topics

    • Konrad Kokosa
    Pages 821-916
  15. Advanced Techniques

    • Konrad Kokosa
    Pages 917-995
  16. Programmatical APIs

    • Konrad Kokosa
    Pages 997-1047
  17. Back Matter

    Pages 1049-1072

About this book

Understand .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
  • Understand the theoretical underpinnings of automatic memory management
  • Take a deep dive into every aspect of .NET memory management, including detailed coverage of garbage collection (GC) implementation, that would otherwise take years of experience to acquire
  • Get practical advice on how this knowledge can be applied in real-world software development
  • Use practical knowledge of tools related to .NET memory management to diagnose various memory-related issues
  • Explore various aspects of advanced memory management, including use of Span and Memory types



Who This Book Is For



.NET developers, solution architects, and performance engineers

Authors and Affiliations

  • Warsaw, Poland

    Konrad Kokosa

About the author

Konrad Kokosa is an experienced software designer and developer with a specific interest in Microsoft technologies, while looking with curiosity at everything else. He has been programming for over a dozen years, solving performance problems and architectural puzzles in the .NET world, and designing and speeding up .NET applications. He is an independent consultant, blogger, meetup and conference speaker, and fan of Twitter (@konradkokosa). He also shares his passion as a trainer in the area of .NET, especially regarding application performance, coding good practices, and diagnostics. He is a Microsoft MVP in the Visual Studio and Development Tools category. He is co-founder of the Dotnetos.org initiative of three .NET fans organizing tours and conferences about .NET performance.

Bibliographic Information

Buy it now

Buying options

Softcover Book USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access