Use HashMap in memory debugger

Remove bad formatting
Merge pull request #848 from etcimon/debug-alloc-invalid

Fix InvalidMemoryOperationError in DebugAllocator