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?
Thanks
Joe
___
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?
allocation size is?
Thank you for your reply and help.
Regards,
Jun
- Original Message -
From: Dan Kennedy
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
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_si
4 matches
Mail list logo