nim-wiki/Hunting-leaks.md

3 lines
138 B
Markdown

- Compile with ``-d:nimTypeNames``
- At strategic places in your program call ``dumpNumberOfInstances`` to see what the GC heap contains.