[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#9117) LMDB incorrect value for mapsize [Docs]



progr-d@yandex.ru wrote:
> No, I mean that in the code it is 1MB, and in the documentation - 10MB.

Repeating myself just this once: Yes, this is known. The point is that yo=
u're
not supposed to trust the default value, you're supposed to always set th=
e size explicitly.

Closing this ITS.

> 14 =D0=BD=D0=BE=D1=8F=D0=B1. 2019 =D0=B3., 5:05 +0300, Howard Chu <hyc@=
symas.com>, =D0=BF=D0=B8=D1=81=D0=B0=D0=BB:
>> progr-d@yandex.ru wrote:
>>> Full_Name: Denis
>>> Version: lmdb 0.9.24
>>> OS: macOS
>>> URL: ftp://ftp.openldap.org/incoming/
>>> Submission from: (NULL) (80.211.15.98)
>>>
>>>
>>> Incorrect value in documentation or code for DEFAULT_MAPSIZE: in code=
 is
>>> 1048576, but in doc: 10485760.
>>>
>>> Code: http://www.lmdb.tech/doc/group__internal.html#ga506f893519db205=
966f7988c03c920f5
>>> Doc (see method description):=C2=A0http://www.lmdb.tech/doc/group__md=
b.html#gaa2506ec8dab3d969b0e609cd82e619e5
>>
>> Yes, this is known. The point is to force you to explicitly set a sane=
 value, therefore this
>> will never be changed.
>>
>> --
>> -- Howard Chu
>> CTO, Symas Corp. http://www.symas.com
>> Director, Highland Sun http://highlandsun.com/hyc/
>> Chief Architect, OpenLDAP http://www.openldap.org/project/


--=20
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/