]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
zstreamtest --newapi : reduced maximum allocated memory
authorYann Collet <cyan@fb.com>
Thu, 28 Sep 2017 18:48:45 +0000 (11:48 -0700)
committerYann Collet <cyan@fb.com>
Thu, 28 Sep 2017 18:48:45 +0000 (11:48 -0700)
tests/zstreamtest.c

index acaf8f96248ef05630215fa0bdc4b28bc4539655..f69cdd646adae22769c5175ab57605b405851adf 100644 (file)
@@ -1363,7 +1363,7 @@ static int fuzzerTests_newAPI(U32 seed, U32 nbTests, unsigned startTest, double
             }
             {   U64 const pledgedSrcSize = (FUZ_rand(&lseed) & 3) ? ZSTD_CONTENTSIZE_UNKNOWN : maxTestSize;
                 ZSTD_compressionParameters cParams = ZSTD_getCParams(cLevel, pledgedSrcSize, dictSize);
-                static const U32 windowLogMax = 25;
+                static const U32 windowLogMax = 24;
 
                 /* mess with compression parameters */
                 cParams.windowLog += (FUZ_rand(&lseed) & 3) - 1;