diff --git a/upip/upip.py b/upip/upip.py index 00db13f2..312c9f20 100644 --- a/upip/upip.py +++ b/upip/upip.py @@ -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: