Hi, all, i just came across a curious behaviour and i'm interested to know what the reason for it is (it's not a bug):
i have a very small test app with a tiny db (1 table, 2 records) where valgrind reports me using more memory (and more allocs) for a file-based db than the same :memory: db. That was very counter to my intuition. file db: ==16021== total heap usage: 856 allocs, 856 frees, 222,957 bytes allocated vs :memory: ==16043== total heap usage: 832 allocs, 832 frees, 203,430 bytes allocated (Most of those allocs were done by my code, not sqlite.) i'm just curious how the second one could possibly allocate less than the first. :-? -- ----- 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