CSI .NET – Debugging .NET Applications
summary
Simulated leaks show 20,000 Product objects holding ~400 MB in char arrays; investigation uses dotnet-counters, dotnet-gcdump and dotnet-dump to create heap snapshots, then Visual Studio or WinDbg/SOS to follow root chains and thread stacks. Demonstrations expose LOH problems (objects > 85,000 bytes), finalizer-queue blocking, server mode with eight GC heaps, and a string-concatenation bug that continuously creates large objects causing repeated full GCs and high CPU.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:07Debugging high memory usage issues
- 20:11Garbage collection: Roots
- 25:37Garbage collection: Generations
- 28:53Large Object Heap
- 30:44Memory issues part 2
- 39:55Debugging performance issues
- 59:16Debugging crashes
- 1:02:34Q&A
related talks
53mDebugging .NET Apps
53mDeep .NET Debugging
50mDiagnostic techniques for .NET running on Linux and within containers
01h 05mLook Mommy, No GC!
59mBuilding your own debugging toolbox with ClrMD
47mHow We Found a 2 GB/Day Leak in 5 Minutes – dotMemory Meets Akka.NET
47mSolving .NET performance issues
57mMake your custom .NET GC — "whys" and "hows"
