improve the diagnostic generated by memInventory() for a memory leak