write a 20GB file

Dave Angel davea at ieee.org
Sat May 15 20:09:40 EDT 2010


Nathan Rice wrote:
> This is precisely the situation mmap was made for :)  It has almost the same
> methods as a file so it should be an easy replacement.
>
> <snip>

Only on a 64bit system, and I'm not sure it's even possible there in 
every case.  On a 32bit system, it would be impossible to mmap a 20gb 
file.  You only have 4gb of address space to play with, total.

DaveA




More information about the Python-list mailing list