i would simply mmap 2**42 bits of virtual memory
@dysfun You will surely never regret, etc.
@RogerBW can't afford 267 bits of memory space