I think I found the answer to my own question:
(1) Pick an arbtrary, huge initial value for nnn
in the compilation option SQLITE_MEMORY_SIZE=nnn;
(2) Let my app run for awhile;
(3) Call sqlite_memory_highwater() to find out
the maximum amount of memory that has ever been
allocated (i.e. the
I've been porting 3.5.6 to my company's embedded
platform. I've implemented a custom VFS, and a
custom Mutex subsystem, and these seem to work
just fine.
I tried to implement a custom Memory subsystem,
but I see that as of 3.5.2 the compilation option
SQLITE_OMIT_MEMORY_ALLOCATION is no longer
2 matches
Mail list logo