On 07/16/2013 01:49 AM, Paolo Bolzoni wrote:
From 35-40MB to 940MB; I would put massif result but I think the
list deletes attachments.
A very large blob or string result? Code allocates (or leaks)
tremendous numbers of sqlite3_stmt* handles?
SQLite has various APIs for querying memory usage:
http://www.sqlite.org/c3ref/memory_highwater.html
http://www.sqlite.org/c3ref/c_status_malloc_count.html
Or, using the shell tool, the ".stats" command can be used
to access the same values.
On Mon, Jul 15, 2013 at 8:41 PM, Stephan Beal <sgb...@googlemail.com> wrote:
On Mon, Jul 15, 2013 at 8:39 PM, Paolo Bolzoni <
paolo.bolzoni.br...@gmail.com> wrote:
So, sorry if the question sounds very vague. But what can
cause high memory usage in sqlite? A large transaction
maybe?
What is "high"? In my apps sqlite tends to use 200-400kb or so, which i
don't consider to be all that high considering what it's capable of doing
for me.
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users