[issue27560] Memory overallocation crash and keyboard interrupt stops working

Martin Panter report at bugs.python.org
Mon Jul 18 06:44:06 EDT 2016


Martin Panter added the comment:

Yes you are probably right Antti. The input to compress would need 31 TB of memory, and is a text string, while Python 3’s zlib.compress() requires bytes. In other words, this will be the same problem of overallocating memory as Issue 27559.

Pablo: I suggest you carefully look at the code, try to understand what it is doing, eliminating the unnecessary parts, etc. Especially when so many of your reports today involve similar techniques.

----------
resolution:  -> duplicate
status: open -> closed
superseder:  -> Crash On bytearray()
title: zlib.compress() crash and keyboard interrupt stops working -> Memory overallocation crash and keyboard interrupt stops working

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


More information about the Python-bugs-list mailing list