diff --git a/velox/common/memory/MmapAllocator.cpp b/velox/common/memory/MmapAllocator.cpp index 65d5abe7aa5df..1aa9e0643d790 100644 --- a/velox/common/memory/MmapAllocator.cpp +++ b/velox/common/memory/MmapAllocator.cpp @@ -345,6 +345,7 @@ bool MmapAllocator::allocateContiguousImpl( (useMmapArena_ ? "true" : "false"), folly::errnoStr(errno)); VELOX_MEM_LOG(ERROR) << errorMsg; + VELOX_MEM_LOG(ERROR) << toString(); setAllocatorFailureMessage(errorMsg); // If the mmap failed, we have unmapped former 'allocation' and the extra to // be mapped.