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

--- Comment #2 from [email protected] ---
Thank you for the quick reply, Howard.

You are talking about a limit on the number of dirty pages. Do you know the
limit? I looked at this part of the code [1] as the `mt_dirty_room` is assigned
`MDB_IDL_UM_MAX`. I tried to compute the value of it, and it seems that only
65535 pages can be dirty in a single transaction. Is that right?

And what do you mean by "in memory"? Are the dirty pages stored in RESident
memory? It would mean that LMDB can allocate up to ~256 MiB (65535*4*1024
Bytes) or ~1 GiB when pages are 16 KiB.

If everything I say above is correct:
 - Can we increase that limit?
 - Can we move the dirty pages to disk?
 - Can we track this number?
 - Can you tell me how much LMDB can allocate in RES? Is there a known limit?

[1]:
https://github.com/LMDB/lmdb/blob/3947014aed7ffe39a79991fa7fb5b234da47ad1a/libraries/liblmdb/midl.h#L56-L64

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

Reply via email to