Re: [sqlite] tracing memroy leak

2005-09-15 Thread Robert Simpson
- Original Message - From: "Dennis Jenkins" <[EMAIL PROTECTED]> To: <sqlite-users@sqlite.org> Sent: Thursday, September 15, 2005 12:54 PM Subject: Re: [sqlite] tracing memroy leak Unless I'm wrong (he he... tha can happen): PostMessage simply inserts the

Re: [sqlite] tracing memroy leak

2005-09-15 Thread Robert Simpson
AIL PROTECTED]> To: "Reid Thompson" <[EMAIL PROTECTED]> Cc: <sqlite-users@sqlite.org>; <[EMAIL PROTECTED]> Sent: Thursday, September 15, 2005 12:34 PM Subject: Re: [sqlite] tracing memroy leak I traced this error down a bit, it only appears when using windows' PostMessage

Re: [sqlite] tracing memroy leak

2005-09-15 Thread Robert Simpson
- Original Message - From: "Mark Wyszomierski" <[EMAIL PROTECTED]> To: <sqlite-users@sqlite.org> Sent: Thursday, September 15, 2005 1:07 PM Subject: Re: [sqlite] tracing memroy leak Hi Dennis, I agree with you about Send/PostMessage(). I just don't s

Re: [sqlite] tracing memroy leak

2005-09-15 Thread Mark Wyszomierski
@ Jay: So those two functions are in separate processes, and in the start of each of them, I am creating a new database handle, which both open with return value of 0, and close with return value of 0 - they aren't actually sharing anything except the database file itself, but for which they

RE: [sqlite] tracing memroy leak

2005-09-15 Thread Reid Thompson
ny code examples seem to imply. reid -Original Message- From: Mark Wyszomierski [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005 3:35 PM To: Reid Thompson Cc: sqlite-users@sqlite.org; [EMAIL PROTECTED] Subject: Re: [sqlite] tracing memroy leak I traced this error down a b

Re: [sqlite] tracing memroy leak

2005-09-15 Thread Mark Wyszomierski
I traced this error down a bit, it only appears when using windows' PostMessage() to communicate between applications. Both applications have their own database handles for sure. When one app gets some data, it simply uses PostMessage() to inform the other app that some data has been received.

RE: [sqlite] tracing memroy leak

2005-09-15 Thread Reid Thompson
Jay Sprenkle wrote: > The premier analysis tool that I know about is valgrind: > http://valgrind.org/info/about.html splint may be of interest also http://www.splint.org/ reid

Re: [sqlite] tracing memroy leak

2005-09-15 Thread Jay Sprenkle
The premier analysis tool that I know about is valgrind: http://valgrind.org/info/about.html On 9/15/05, Mark Wyszomierski <[EMAIL PROTECTED]> wrote: > > Hi all, > Is there anyway to track down memory leaks with using sqlite? I have 2 > apps > sharing one database file. Application #1 only

[sqlite] tracing memroy leak

2005-09-15 Thread Mark Wyszomierski
Hi all, Is there anyway to track down memory leaks with using sqlite? I have 2 apps sharing one database file. Application #1 only ever uses a single thread, so I just open the db struct at startup, and close it at shutdown. Closing down returns SQLITE_OK. My second app opens a handle to the