Re: [sqlite] what sqlite3_memory_used mean??

2018-04-14 Thread Richard Hipp
On 4/13/18, king3306 <1809860...@qq.com> wrote: > HI > > I use sqlite3 in embedded arm > > my memory is very small about 4M > > so i want to use MEMSYS5 to limit memory use > > i define DSQLITE_ENABLE_MEMSYS5 1 in sqlite3.c > > compile it > > in my code start i use > > > sqlite

[sqlite] what sqlite3_memory_used mean ?

2018-04-14 Thread king3306
HI I use sqlite3 on embedded arm my memory is very small free memory about 6M so i want to use MEMSYS5 to limit memory use i define DSQLITE_ENABLE_MEMSYS5=1 in sqlite3.c compile it in my code start i use sqlite3_config(SQLITE_CONFIG_HEAP,malloc(2*1024*1024),2*1024*

[sqlite] what sqlite3_memory_used mean ?

2018-04-14 Thread king3306
HI I use sqlite3 in embedded arm my memory is very small about 4M so i want to use MEMSYS5 to limit memory use i define DSQLITE_ENABLE_MEMSYS5 1 in sqlite3.c compile it in my code start i use sqlite3_config(SQLITE_CONFIG_HEAP,malloc(2*1024*1024),2*1024*1024);

[sqlite] what sqlite3_memory_used mean??

2018-04-14 Thread king3306
HI I use sqlite3 in embedded arm my memory is very small about 4M so i want to use MEMSYS5 to limit memory use i define DSQLITE_ENABLE_MEMSYS5 1 in sqlite3.c compile it in my code start i use sqlite3_config(SQLITE_CONFIG_HEAP,malloc(2*1024*1024),2*1024*1024);