releaseMemory



This method causes the database engine to attempt to free count bytes of heap memory by deallocating non-essential memory allocations held by the database library.

Arguments: The single argument is:
count [required] The number of bytes the database engine should try to release.
Return value: Returns the number of bytes actually released, which may be mor or less than requested.
Remarks: Memory used to cache database pages to improve performance is an example of non-essential memory. This method would be a no-op returning zero if SQLite was not compiled with the SQLITE_ENABLE_MEMORY_MANAGEMENT compile-time option. However, ooSQLite does use that option when it is built, so this method is not a no-op.
Details The functionality of thereleaseMemorymethod is similar to that of the SQLite sqlite3_release_memory API.