From 9bf7d53dc2434b145c4ab5b72e4a34fdab91c71a Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Fri, 9 Oct 2020 00:14:59 +0300 Subject: [PATCH] mdbx: `MAX_MAPSIZE32` value has been reduced to `0x7f000000`. Change-Id: Ia45dd56621cd92441a45b8e80420a124cd111fdc --- src/internals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internals.h b/src/internals.h index 6754ab15..4987d4c3 100644 --- a/src/internals.h +++ b/src/internals.h @@ -619,7 +619,7 @@ typedef struct MDBX_lockinfo { #if defined(_WIN32) || defined(_WIN64) #define MAX_MAPSIZE32 UINT32_C(0x38000000) #else -#define MAX_MAPSIZE32 UINT32_C(0x7ff80000) +#define MAX_MAPSIZE32 UINT32_C(0x7f000000) #endif #define MAX_MAPSIZE64 (MAX_PAGENO * (uint64_t)MAX_PAGESIZE)