With the old default GCs you can do this:

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



This is mostly useful to find logical leaks where data structures simply keep 
growing and since they stay alive, the GC cannot do anything about it.

Reply via email to