[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#8322) mdb_env_set_mapsize default size mismatch

Full_Name: Bernard Normier
Version: lmdb latest
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

lmdb.h, used by Doxygen, documents a default size of 10MB:
> * The size should be a multiple of the OS page size. The default is
> * 10485760 bytes. The size of the memory map is also the maximum size

while mdb.c uses a default size of 1MB:
> #define DEFAULT_MAPSIZE	1048576