Skip to content

Commit 2c83920

Browse files
committed
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.
1 parent dfe4dee commit 2c83920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upip/upip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def install(to_install, install_path=None):
170170
# Calculate gzip dictionary size to use
171171
global gzdict_sz
172172
sz = gc.mem_free() + gc.mem_alloc()
173-
if sz <= 655360:
173+
if sz <= 65536:
174174
gzdict_sz = 16 + 12
175175

176176
if install_path is None:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy