[issue21116] Failure to create multiprocessing shared arrays larger than 50% of memory size under linux
Charles-François Natali
report at bugs.python.org
Wed Apr 2 23:20:17 CEST 2014
Charles-François Natali added the comment:
Zero-filling mmap's backing file isn't really optimal: why not use truncate() instead? This way, it'll avoid completely I/O on filesystems that support sparse files, and should still work on FS that don't.
----------
nosy: +neologix
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21116>
_______________________________________
More information about the Python-bugs-list
mailing list