Skip to content

dotnet-dump subcommand dumpheap returning No CLR runtime found #39774

Open
@upsampled

Description

Type of issue

Code doesn't work

Description

Following the Debug a memory leak in .NET guide, everything seems till work till I go to analyze the dump file:

PS C:\Users\Administrator> dotnet-dump analyze dump_20240301_195650.dmp
Loading core dump: dump_20240301_195650.dmp ...
Ready to process analysis commands. Type 'help' to list available commands or 'help [command]' to get detailed help on a command.
Type 'quit' or 'exit' to exit the session.
> dumpheap -stat
ERROR: No CLR runtime found. This means that a .NET runtime module or the DAC for the runtime can not be found or downloaded.

I was expecting the dump information presented in the tutorial.

Page URL

https://learn.microsoft.com/en-us/dotnet/core/diagnostics/debug-memory-leak

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/diagnostics/debug-memory-leak.md

Document Version Independent Id

03f3761e-be31-bae9-6ac7-ad86db389212

Article author

@tommcdon

Metadata

  • ID: 2913d994-4c72-cc6e-0bd4-ba122ae21753
  • Service: dotnet-fundamentals

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions