Name
SQLITE_ENABLE_MEMSYS3 — Enable alternate memory allocator
Description
Enables one of two alternate memory
allocators. Only one can be enabled at a time. The alternate
allocators are used when SQLite is in “heap” mode. This allows
the application to provide a static chunk of memory that SQLite
will use for all of its internal allocations. This is most
commonly done with embedded systems where memory usage must be
carefully controlled. MEMSYS3
uses a hybrid allocation algorithm based off dlmalloc().
See Also
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access