# Creating a memory dump in C#

DevFeed: [Creating a memory dump in C#](<https://devfeed.tech/articles/creating-a-memory-dump-in-c-58256.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/dotnet/creating-a-memory-dump-in-csharp/>)

Author: Aaron Powell

Published: 2026-09-22T17:05:00Z

Content type: tutorial

Language: en

Sources: [.NET Blog](<https://devfeed.tech/sources/net-blog.md>)

Topics: [debugging](<https://devfeed.tech/topics/debugging.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>)

Tags: [application](<https://devfeed.tech/tags/application.md>), [async](<https://devfeed.tech/tags/async.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [capture](<https://devfeed.tech/tags/capture.md>), [crash](<https://devfeed.tech/tags/crash.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [dump](<https://devfeed.tech/tags/dump.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-dump](<https://devfeed.tech/tags/memory-dump.md>), [monitor](<https://devfeed.tech/tags/monitor.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [net](<https://devfeed.tech/tags/net.md>), [production](<https://devfeed.tech/tags/production.md>), [tasks](<https://devfeed.tech/tags/tasks.md>), [thread](<https://devfeed.tech/tags/thread.md>), [view](<https://devfeed.tech/tags/view.md>), [visual-studio](<https://devfeed.tech/tags/visual-studio.md>)

## AI overview

A tutorial on capturing memory dumps from C# applications to investigate production crashes and unresponsiveness. It describes using logging and telemetry alongside memory dumps, and demonstrates monitoring thread-pool task timing to identify likely saturation before generating a dump.

## Source excerpt

Learn how to create a memory dump in C# to capture the state of your application for debugging purposes. The post Creating a memory dump in C# appeared first on .NET Blog.