diff --git a/Hunting-leaks.md b/Hunting-leaks.md new file mode 100644 index 0000000..37f7d89 --- /dev/null +++ b/Hunting-leaks.md @@ -0,0 +1,2 @@ +- Compile with ``-d:nimTypeNames`` +- At strategic places in your program call ``dumpNumberOfInstances`` to see what the GC heap contains.