]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
[tests] Reduce memory usage of MT CLI tests 2606/head
authorNick Terrell <terrelln@fb.com>
Mon, 3 May 2021 23:29:11 +0000 (16:29 -0700)
committerNick Terrell <terrelln@fb.com>
Mon, 3 May 2021 23:29:11 +0000 (16:29 -0700)
Switch from `-T0` to the default `-T1` which significantly reduces
memory usage for level 19 when there are many cores. This fixes
32-bit issues of running out of address space.

Fixes #2603.

tests/playTests.sh

index 2dfb4fa07ac65f51501f6d97d8ef8bd930f38eca..04a90e3c2ee931ff6acffc887a5d60b7e4709226 100755 (executable)
@@ -1225,7 +1225,7 @@ then
     println "\n===>  zstdmt round-trip tests "
     roundTripTest -g4M "1 -T0"
     roundTripTest -g8M "3 -T2"
-    roundTripTest -g8M "19 -T0 --long"
+    roundTripTest -g8M "19 --long"
     roundTripTest -g8000K "2 --threads=2"
     fileRoundTripTest -g4M "19 -T2 -B1M"