Using Scala class to define MemoryReference. Use human-readable format in MemoryAllocator log messages