Hunting leaks - nim-lang/Nim GitHub Wiki

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