Re: [sqlite] RE:Re: [sqlite] SQLite memory leak on Windows CE

2006-03-15 Thread Jose Da Silva
On March 14, 2006 01:49 pm, [EMAIL PROTECTED] wrote: > Hello again, > Thank for your answers: > first of all thank you who pointed that i should use a close(db) at > line 17 and call sqlite3_free_table(result) even if there was an > error, but these solutions didn´t solve my problem (the

Re: [sqlite] RE:Re: [sqlite] SQLite memory leak on Windows CE

2006-03-14 Thread Jay Sprenkle
On 3/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello again, > Thank for your answers: > first of all thank you who pointed that i should use a close(db) at line 17 > and call sqlite3_free_table(result) even if there was an error, but these > solutions didn´t solve my problem (the

[sqlite] RE:Re: [sqlite] SQLite memory leak on Windows CE

2006-03-14 Thread [EMAIL PROTECTED]
Hello again, Thank for your answers: first of all thank you who pointed that i should use a close(db) at line 17 and call sqlite3_free_table(result) even if there was an error, but these solutions didn´t solve my problem (the execution code never reached that point because ret value was always

Re: [sqlite] SQLite memory leak on Windows CE

2006-03-14 Thread Jose Da Silva
On March 14, 2006 12:03 pm, [EMAIL PROTECTED] wrote: > Hi all, > I am having real problems with SQLite on Windows CE (.NET 4.1 and > Pocket PC 2003). I have tried everything and it seems that there is a > memory leak with SQLite on Windows CE. I have test it with SQLite > versions

Re: [sqlite] SQLite memory leak on Windows CE

2006-03-14 Thread John Stanton
You might look to recoding your application to not use get_table, a memory hog. Instead use step in a loop. Jay Sprenkle wrote: On 3/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi all, I am having real problems with SQLite on Windows CE (.NET 4.1 and Pocket PC 2003). ret =

Re: [sqlite] SQLite memory leak on Windows CE

2006-03-14 Thread Jay Sprenkle
On 3/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi all, > I am having real problems with SQLite on Windows CE (.NET 4.1 and Pocket PC > 2003). > ret = sqlite3_get_table(db, SELECT * FROM artic, result, > rows, cols, errmsg); > if (ret != SQLITE_OK) > { > MessageBox(_T(Error en

[sqlite] SQLite memory leak on Windows CE

2006-03-14 Thread [EMAIL PROTECTED]
Hi all, I am having real problems with SQLite on Windows CE (.NET 4.1 and Pocket PC 2003). I have tried everything and it seems that there is a memory leak with SQLite on Windows CE. I have test it with SQLite versions 3.2.2 and 3.3.4 and SQLite seems that it reserves memory and doesn´t free