[issue16743] mmap accepts files > 1 GB, but processes only 1 GB
Serhiy Storchaka
report at bugs.python.org
Mon Dec 24 08:36:21 CET 2012
Serhiy Storchaka added the comment:
I have only 32-bit OS and can't answer this questions. I'm surprised by
1 GiB limit too.
Marc, can you please check 4.5 GiB file? What limit in this case, 1 GiB
or 0.5 GiB? What about slicing a big bytes object or bytearray (if you
have enough memory)?
If mmap on Windows can't work with files larger 4 GiB, then it should
raise exception on creation or at least on access. Silent production of
wrong result is not a way.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16743>
_______________________________________
More information about the Python-bugs-list
mailing list