upip: Fix heap size to use for decreased gzip dictionary.

Original intended value is 64K of heap or smaller, 640K figure was a
testing one.
pull/117/head
Paul Sokolovsky 2016-10-12 18:14:07 +03:00
rodzic dfe4dee62a
commit 2c83920f36
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -170,7 +170,7 @@ def install(to_install, install_path=None):
# Calculate gzip dictionary size to use
global gzdict_sz
sz = gc.mem_free() + gc.mem_alloc()
if sz <= 655360:
if sz <= 65536:
gzdict_sz = 16 + 12
if install_path is None: