LMDB increase map_size
问题 I was working with LMDB++ (the C++ wrapper for LMDB) and I got this error: terminate called after throwing an instance of 'lmdb::map_full_error' what(): mdb_put: MDB_MAP_FULL: Environment mapsize limit reached Some googling told me that the default map_size is set low in LMDB. How do I go about increasing map_size? 回答1: The default LMDB map size is 10 MiB, which is indeed too small for most uses. To set the LMDB map size using the C++ wrapper, you ought to call lmdb::env#set_mapsize() right