On 2/17/17, Kim Gräsman <kim.gras...@gmail.com> wrote:
>
> Thanks, shrink_memory could come in handy. But this is not the problem
> we're trying to solve -- rather we want to claim as much memory as possible
> up-front to make mem usage deterministic and make it easier to diagnose
> other subsystems with run-away memory usage.

In that case, consider using MEMSYS5
(https://www.sqlite.org/malloc.html#experimental_memory_allocators).
You give SQLite a single big chunk of RAM up front, and that is all
the memory it will ever use.  And it won't share any of it with any
other subsystems.
-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to