1BSON_MEMORY(3)                      libbson                     BSON_MEMORY(3)
2
3
4

NAME

6       bson_memory - Memory Management
7
8       BSON Memory Abstraction.
9

DESCRIPTION

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

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.17.4                           Feb 04, 2021                   BSON_MEMORY(3)
Impressum