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*1024); sqlite3_config(SQLITE_CONFIG_PAGECACHE,malloc(4*1024),4*1024); before open database my purpose is to limit memory usage < 2M + 4K but i found sqlite3_memory_used=29126656 is use 27M?? i can"t understand why what sqlite3_memory_used mean ? if i want to limit memory about 4M ? what i should config the sqlite3? -- Sent from: http://sqlite.1065341.n5.nabble.com/ _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users