https://bugs.openldap.org/show_bug.cgi?id=9429

Howard Chu <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Howard Chu <[email protected]> ---
(In reply to simonleier from comment #0)
> I discovered that deleting data from the database causes MDB_MAP_FULL on my
> MacBook Pro with M1 chip. The same code works fine on an Intel Mac.
> 
> I think there is no special code required to reproduce this. Open a db, put
> something, try to delete it and LMDB crashes.

As I recall, the M1 uses a 64KB pagesize by default, and you're probably
hitting ITS#7713. You need to recompile LMDB after changing the "#define
PAGEBASE" definition to PAGEHDRSZ. Note that making this change will make
the DB files incompatible with other LMDB 0.9 builds. This setting is
however the default in LMDB 1.0.

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to