On 17 Dec 2011, at 5:02am, smallboat wrote:

> Do you have or know some wiki or documents about this? I want to know more 
> about it. 
> 
> 
> It is the sum of the allocation
> sizes as reported by the xSize method in sqlite3_mem_methods , based 
> onhttp://www.sqlite.org/c3ref/c_status_malloc_size.html.
> Does it mean it depend son what the allocation size is? 

Each time SQLite calls malloc() it has to specify how many bytes of memory it 
wants.  The value you're getting back from sqlite3_status() is the total number 
of bytes malloc() has delivered to SQLite.

(Answer simplified because SQLite also releases memory while it's working.)

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to