Mapping large files

I'd guess a memory map would be your best bet when dealing with such large files. Although be aware that any memory mapped in such a way may be unsafe because a file can change its contents at any time.

1 Like