getAllocStats() only keeps track of allocations with `-d:allocStats`. It's only there for Nim's own test suite now and is of limited use, as some allocations will only be cleaned up after the main code, so these can not be properly reported from within your Nim program itself.
At this time Valgrind is probably still the best tool for hunting leaks.
