[issue27559] Crash On bytearray()
Martin Panter
report at bugs.python.org
Mon Jul 18 05:33:39 EDT 2016
Martin Panter added the comment:
bytearray(n) needs to allocate n bytes. Unless your computer has 1024 GiB of memory, this is not going to be possible. If you are using an OS like Linux, it may pretend to allocate that much memory, and then kill the process when it realizes it has overallocated. If you need more robust behaviour on Linux, I suggest looking into disabling memory overcommit.
----------
nosy: +martin.panter
resolution: -> not a bug
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27559>
_______________________________________
More information about the Python-bugs-list
mailing list