thank you for the advice, I found even this: http://www.sqlite.org/malloc.html#memstatus that describe the possibility to set the memory usage limit
Il 25/02/2011 14.24, Marco Bambini ha scritto: > Michele take a look at the sqlite3_status function: > http://www.sqlite.org/c3ref/status.html > and > http://www.sqlite.org/c3ref/c_status_malloc_count.html > > -- > Marco Bambini > http://www.sqlabs.com > > > > > > > On Feb 25, 2011, at 2:17 PM, Michele Pradella wrote: > >> Do you know if is there a way to ask to the sqlite library the amount of >> memory that is using? >> It could be useful when I have to take a look to the memory used in my >> application. So I can distinguish between memory allocated by my >> application itself and allocated by sqlite library. >> It's possible to set up a maximum amount of memory that the library can use? >> >> -- >> Selea s.r.l. >> >> >> Michele Pradella R&D >> >> >> SELEA s.r.l. >> >> Via Aldo Moro 69 >> Italy - 46019 Cicognara (MN) >> Tel +39 0375 889091 >> Fax +39 0375 889080 >> *michele.prade...@selea.com*<mailto:michele.prade...@selea.com> >> *http://www.selea.com* >> _______________________________________________ >> 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 > > -- Selea s.r.l. Michele Pradella R&D SELEA s.r.l. Via Aldo Moro 69 Italy - 46019 Cicognara (MN) Tel +39 0375 889091 Fax +39 0375 889080 *michele.prade...@selea.com* <mailto:michele.prade...@selea.com> *http://www.selea.com* _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users