Skip to content

Commit 22c1573

Browse files
authored
Update debug-memory-leak to add now needed step (#47291)
1 parent d6bc798 commit 22c1573

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/core/diagnostics/debug-memory-leak.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ The output should be similar to:
5656
4807 DiagnosticScena /home/user/git/samples/core/diagnostics/DiagnosticScenarios/bin/Debug/netcoreapp3.0/DiagnosticScenarios
5757
```
5858

59+
> [!NOTE]
60+
> If the previous command doesn't work or isn't found, you likely need to install the `dotnet-counters` tool first. Use the following command:
61+
>
62+
> ```console
63+
> dotnet tool install --global dotnet-counters
64+
> ```
65+
5966
Now, check managed memory usage with the [dotnet-counters](dotnet-counters.md) tool. The `--refresh-interval` specifies the number of seconds between refreshes:
6067
6168
```console

0 commit comments

Comments
 (0)