]> granicus.if.org Git - neomutt/commit
fix: increase the max lmdb database size
authorRichard Russon <rich@flatcap.org>
Mon, 12 Dec 2016 22:33:19 +0000 (22:33 +0000)
committerRichard Russon <rich@flatcap.org>
Mon, 12 Dec 2016 22:33:20 +0000 (22:33 +0000)
commit6d337642e701b1dde4b5d0812e01c85f41ba65ca
tree4cfad263d6b68e59b4d364ff633b479acd2f388e
parentae677c1b4c6e827573c66fd8d051dc11d16e594d
fix: increase the max lmdb database size

A user, with over 400,000 emails was getting the error:

    MDB_MAP_FULL: Environment mapsize limit reached

This commit increases the maximum database size to 2GiB.
The file is mmap(2)'d into memory, so mutt shouldn't actually use this
much memory.

Fixes: #267
hcache-lmdb.c