mdbx: backport - note about reserved vs. actual mem/disk usage.

Change-Id: Ibd75bdafac646f4a577c7cbebda8173e5b7e5ef1
This commit is contained in:
Hallvard Furuseth 2016-01-12 23:18:06 +01:00 committed by Leo Yuriev
parent 207f43003c
commit b33fe4a3f0

5
lmdb.h
View File

@ -66,6 +66,11 @@
* This does not use actual memory or disk space, but users may need
* to understand the difference so they won't be scared off.
*
* - An LMDB configuration will often reserve considerable \b unused
* memory address space and maybe file size for future growth.
* This does not use actual memory or disk space, but users may need
* to understand the difference so they won't be scared off.
*
* - By default, in versions before 0.9.10, unused portions of the data
* file might receive garbage data from memory freed by other code.
* (This does not happen when using the #MDB_WRITEMAP flag.) As of