Skip to content

Commit 7265fe1

Browse files
author
Jacob Brady
authored
Remove outdated -all argument to gcroot (#38035)
1 parent 03ce644 commit 7265fe1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Debug a memory leak tutorial
33
description: Learn how to debug a memory leak in .NET.
44
ms.topic: tutorial
5-
ms.date: 09/11/2023
5+
ms.date: 11/13/2023
66
---
77

88
# Debug a memory leak in .NET
@@ -190,10 +190,10 @@ Statistics:
190190
Total 206770 objects
191191
```
192192

193-
You can now use the `gcroot` command on a `System.String` instance to see how and why the object is rooted. Be patient because this command takes several minutes with a 30-MB heap:
193+
You can now use the `gcroot` command on a `System.String` instance to see how and why the object is rooted:
194194

195195
```console
196-
> gcroot -all 00007f6ad09421f8
196+
> gcroot 00007f6ad09421f8
197197

198198
Thread 3f68:
199199
00007F6795BB58A0 00007F6C1D7D0745 System.Diagnostics.Tracing.CounterGroup.PollForValues() [/_/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs @ 260]

0 commit comments

Comments
 (0)