Thanks gents. It is all handled internally by SQLite. Good enough. On Mon, Mar 7, 2016 at 9:14 PM, Simon Slavin <slavins at bigfraud.org> wrote:
> > On 8 Mar 2016, at 2:10am, 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? > > You can manually DROP the table. > > If the table still exists when you close the connection SQLite will DROP > the table for you. > > If you call sqlite3_shutdown(void) while SQLite still has connections open > it will close the connections for you. > > Simon. > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >