Hi, Dan: 

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 on 
http://www.sqlite.org/c3ref/c_status_malloc_size.html.
Does it mean it depend son what the allocation size is? 


Thank you for your reply and help. 


Regards,
Jun 



----- Original Message -----
From: Dan Kennedy <danielk1...@gmail.com>
To: sqlite-users@sqlite.org
Cc: 
Sent: Friday, December 16, 2011 8:56 PM
Subject: Re: [sqlite] what is the unit of SQLITE_STATUS_MEMORY_USED?

On 12/17/2011 06:16 AM, smallboat wrote:
> Hi,
>
>
> I am usingĀ   sqlite_status = 
> sqlite3_status(SQLITE_STATUS_MEMORY_USED,&pCurrent,&pHighwater, resetFlag);
> to get the memory used by sqlite.
>
>
> What is the memory unit for pCurrent (the max sqlite memory used)?
>
> Is it in bytes, bit or something else?

Bytes.
_______________________________________________
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

Reply via email to