Dominik Taborsky wrote:
On 11/25/2015 02:27 PM, Howard Chu wrote:
Dominik Taborsky wrote:
If anyone has any idea what might be the issue, please let me know. I know deleting the DB from filesystem and creating a new one would work, but that's a hack, not a fix.
Your calculation of max_pages vs used_pages is totally bogus. There's nothing wrong with LMDB.
Thanks for checking it out, Howard, but can you please advise on how to compute a safe buffer then?
Read mdb_stat.c, follow how it computes the number of free pages.