MemCounter: Adding the memory tracker tool