From 0baa64a763a8f4e274eb037e808e309312eabce7 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Thu, 25 Aug 2016 22:54:13 +0200 Subject: [PATCH] increased maximum memory size for 64-bits bench to 16 GB --- programs/bench.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/bench.c b/programs/bench.c index dc36d170f..f773b5f09 100644 --- a/programs/bench.c +++ b/programs/bench.c @@ -58,7 +58,7 @@ #define MB *(1 <<20) #define GB *(1U<<30) -static const size_t maxMemory = (sizeof(size_t)==4) ? (2 GB - 64 MB) : (size_t)(1ULL << ((sizeof(size_t)*8)-31)); +static const size_t maxMemory = (sizeof(size_t)==4) ? (2 GB - 64 MB) : (size_t)(1ULL << ((sizeof(size_t)*8)-30)); static U32 g_compressibilityDefault = 50;