Calling mmap() with a size > 3Gig results in EINVAL on Linux. Catch this case and report it as an out of memory condition instead of a panic.