1BSON_MEMORY(3)                      libbson                     BSON_MEMORY(3)
2
3
4
5BSON Memory Abstraction.
6

DESCRIPTION

8       Libbson  contains  a lightweight memory abstraction to make portability
9       to new platforms easier. Additionally, it helps us integrate  with  in‐
10       teresting  higher-level languages. One caveat, however, is that Libbson
11       is not designed to deal with Out of Memory (OOM) situations.  Doing  so
12       requires  extreme  diligence  throughout the application stack that has
13       rarely been implemented correctly. This may change in the future. As it
14       stands now, Libbson will abort() under OOM situations.
15
16       To  aid  in  language binding integration, Libbson allows for setting a
17       custom memory allocator via bson_mem_set_vtable().  This allocation may
18       be reversed via bson_mem_restore_vtable().
19

AUTHOR

21       MongoDB, Inc
22
24       2017-present, MongoDB, Inc
25
26
27
28
291.25.1                           Nov 08, 2023                   BSON_MEMORY(3)
Impressum