> Set sqlite3_temp_directory once when the process starts (and then > only if you really need it) then leave it alone for the remainder of the > live of the process. Do not try to reclaim memory.
Fair enough. Would you recommend any alternatives to replace temp_directory altogether? Cheers Nicolás Brailovsky - Tech blog http://monoinfinito.wordpress.com On 23 July 2014 18:40, Richard Hipp <d...@sqlite.org> wrote: > On Wed, Jul 23, 2014 at 12:10 PM, Nicolás Brailovsky < > nicolasbra...@gmail.com> wrote: > > > > > How would you suggest to implement the cleanup for > sqlite3_temp_directory? > > > > Don't. Set sqlite3_temp_directory once when the process starts (and then > only if you really need it) then leave it alone for the remainder of the > live of the process. Do not try to reclaim memory. > > -- > D. Richard Hipp > d...@sqlite.org > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users