mem: Adding verbose debug output in the memory system