On 3/7/16, Stephen Chrzanowski <pontiac76 at gmail.com> wrote:
> Out of curiosity, from a memory management standpoint, if I create a memory
> database, populate simple tables and such, to what falls the responsibility
> with cleaning up the memory used?
>
> Will SQLite handle :memory: databases internally, flushing out the tables
> from memory?
>
> Does my application have to handle dropping the tables before actually
> closing the connection?

All memory is freed automatically when the database connection closes.

-- 
D. Richard Hipp
drh at sqlite.org

Reply via email to