On Mon, Dec 12, 2005 at 06:55:24PM -0500, [EMAIL PROTECTED] wrote: > Eric Scouten <[EMAIL PROTECTED]> wrote: > > Or to put it another way, this is essentially a memory leak problem. > > SQLite obviously knows that I've lost track of one or more prepared > > statements that haven't run to completion, it isn't telling me *what* > > statements those are. I'm wondering if there is any way of getting that > > information. Armed with that knowledge, I can probably fix my code > > fairly quickly.
If you happen to be running on Linux, you might try using 'valgrind' (http://www.valgrind.org). Among other things, it's a link time memory debugger that does a good job of catching lost pointers. I've used it for similar problems with SQLite custom code with great success. --nate