log error on mmap-based memory allocation failure