[issue21116] Failure to create multiprocessing shared arrays larger than 50% of memory size under linux

Antoine Pitrou report at bugs.python.org
Tue Apr 14 22:58:22 CEST 2015


Antoine Pitrou added the comment:

Actually, recent POSIX states unconditionally that:

« If the file previously was smaller than this size, ftruncate() shall increase the size of the file. If the file size is increased, the extended area shall appear as if it were zero-filled. »

(from http://pubs.opengroup.org/onlinepubs/9699919799/functions/ftruncate.html)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21116>
_______________________________________


More information about the Python-bugs-list mailing list