Re: [sqlite] memory used by sqlite library

2011-02-25 Thread Michele Pradella
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

Re: [sqlite] memory used by sqlite library

2011-02-25 Thread Marco Bambini
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 sq

[sqlite] memory used by sqlite library

2011-02-25 Thread Michele Pradella
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