Small. Fast. Reliable.
Choose any three.

SQLite Requirement Matrix Details
release_memory.html

Index Summary Markup Original


R-45051-55006-15108-02545-65455-20416-20562-25495 tcl slt th3 src

The sqlite3_release_memory() interface attempts to free N bytes of heap memory by deallocating non-essential memory allocations held by the database library.

th3/req1/releasemem01.test:27

/* IMP: R-45051-55006 */
# EVIDENCE-OF: R-45051-55006 The sqlite3_release_memory() interface
# attempts to free N bytes of heap memory by deallocating non-essential
# memory allocations held by the database library.

R-08782-34587-24709-60747-46157-12897-42098-02206 tcl slt th3 src

sqlite3_release_memory() returns the number of bytes actually freed, which might be more or less than the amount requested.

th3/req1/releasemem01.test:54

/* IMP: R-08782-34587 */
# EVIDENCE-OF: R-08782-34587 sqlite3_release_memory() returns the number
# of bytes actually freed, which might be more or less than the amount
# requested.

R-34391-24921-52036-19820-43252-56353-24608-07545 tcl slt th3 src

The sqlite3_release_memory() routine is a no-op returning zero if SQLite is not compiled with SQLITE_ENABLE_MEMORY_MANAGEMENT.

src/malloc.c:27   th3/req1/releasemem01.test:40

/* IMP: R-34391-24921 */
# EVIDENCE-OF: R-34391-24921 The sqlite3_release_memory() routine is a
# no-op returning zero if SQLite is not compiled with
# SQLITE_ENABLE_MEMORY_MANAGEMENT.