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  in‐
13       teresting  higher-level languages. One caveat, however, is that Libbson
14       is not designed to deal with Out of Memory (OOM) situations.  Doing  so
15       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.6                           Jun 03, 2021                   BSON_MEMORY(3)
Impressum