« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
www.sqlite.org · Extracted in 345 ms

Free Memory Used By A Database Connection

Source: https://www.sqlite.org/c3ref/db_release_memory.html
Small. Fast. Reliable.
Choose any three.

SQLite C Interface

Free Memory Used By A Database Connection

int sqlite3_db_release_memory(sqlite3*);

The sqlite3_db_release_memory(D) interface attempts to free as much heap memory as possible from database connection D. Unlike the sqlite3_release_memory() interface, this interface is in effect even when the SQLITE_ENABLE_MEMORY_MANAGEMENT compile-time option is omitted.

See also: sqlite3_release_memory()

See also lists of Objects , Constants , and Functions .