[issue30800] zlib.compressobj took too much memory on window

Irit Katriel report at bugs.python.org
Tue Apr 20 12:48:08 EDT 2021


Irit Katriel <iritkatriel at yahoo.com> added the comment:

It looks like you're not using this API correctly, it doesn't make sense to create 10000 compressobj()s.   You should create one and then call compress() on it as many times as you need.

----------
nosy: +iritkatriel
resolution:  -> not a bug
status: open -> pending

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30800>
_______________________________________


More information about the Python-bugs-list mailing list