mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 22:33:49 +00:00
gc.rst: updated the docs to reflect reality
This commit is contained in:
@@ -176,8 +176,7 @@ useful for us, so it might be useful for you. To get a heap dump, compile
|
||||
with ``-d:nimTypeNames`` and call ``dumpNumberOfInstances`` at a strategic place in your program.
|
||||
This produces a list of used types in your program and for every type
|
||||
the total amount of object instances for this type as well as the total
|
||||
amount of bytes these instances take up. This list is currently unsorted!
|
||||
You need to use external shell script hacking to sort it.
|
||||
amount of bytes these instances take up.
|
||||
|
||||
The numbers count the number of objects in all garbage collector heaps, they refer to
|
||||
all running threads, not only to the current thread. (The current thread
|
||||
|
||||
Reference in New Issue
Block a user