Description: Set ZSTD_COMPRESS_LEVEL to 21 as zst compression consumes a lot of mem in 32 bit Author: Nilesh Patra Last-Update: 2023-07-11 Comment: Deactivated since upstream has now set level 19 --- a/src/conda_package_handling/conda_fmt.py +++ b/src/conda_package_handling/conda_fmt.py @@ -19,10 +19,10 @@ from .streaming import _extract CONDA_PACKAGE_FORMAT_VERSION = 2 -DEFAULT_COMPRESSION_TUPLE = (".tar.zst", "zstd", "zstd:compression-level=22") +DEFAULT_COMPRESSION_TUPLE = (".tar.zst", "zstd", "zstd:compression-level=21") # increase to reduce speed and increase compression (22 = conda's default) -ZSTD_COMPRESS_LEVEL = 22 +ZSTD_COMPRESS_LEVEL = 21 # increase to reduce compression (slightly) and increase speed ZSTD_COMPRESS_THREADS = 1