I'll try valgrind and I've enabled sqlite3_trace. /PN

On 02/26/2012 09:11 PM, Roger Binns wrote:
> On 26/02/12 11:29, Patrik Nilsson wrote:
>> How do I set up a log
> 
> A log of what?  This will get you queries:
> 
>  http://www.sqlite.org/c3ref/profile.html
> 
> This will get you disk operations:
> 
>  http://www.sqlite.org/compile.html#enable_iotrace
> 
>> I have made a verify function for the whole table of the data-blobs.
> 
> Yet more reason for this to be implemented:
> 
>   http://www.sqlite.org/src/tktview?name=72b01a982a
> 
> One thing you should do is run your program under valgrind.  It is quite
> likely that it is other code messing with SQLite's memory.  I like to set
> the --freelist-vol flag to a huge number to ensure freed memory is never
> reused - this is especially good at catching problems in long running
> programs.
> 
> Roger
> _______________________________________________
> 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

Reply via email to