As far as I know sqlite provides a zero-malloc allocator via memsys5. However, the size of the buffer provided via
sqlite3_config(SQLITE_CONFIG_HEAP, pBuf, szBuf, mnR