|
Re: memory usage: msg#00109db.sqlite.general
OK, another question. for each time I call sqlite_get_table, a pointer is needed to pass into it. sqlite_get_table will return the results of the query as with the address of the pointer. If without freeing this table, and using the same pointer over and over, the contents of the pointer (the new table its pointing to) will be the same chunk of memory (but updated) or will be a new chunk (thus resulting in a memory leak)? Colin "D. Richard Hipp" wrote: > > Colin Shum wrote: > > sqlite_get_table only uses so much memory (a block of it) > > until I free it right? it wont use more memory on repeated > > visits? > > > > Correct. > > The SQLite test suite contains extensive checks for > memory leaks. It is possible that you have found a > memory leak that the test suite misses, though > unlikely. > > -- > D. Richard Hipp -- drh-X1OJI8nnyKUAvxtiuMwx3w@xxxxxxxxxxxxxxxx -- 704.948.4565 > > To unsubscribe from this group, send an email to: > sqlite-unsubscribe-VgYJa0VH1e9BDgjK7y7TUQ@xxxxxxxxxxxxxxxx > > > > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ To unsubscribe from this group, send an email to: sqlite-unsubscribe-VgYJa0VH1e9BDgjK7y7TUQ@xxxxxxxxxxxxxxxx Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Passing strings with quotation marks into SQLite: 00109, sergey_sikorsky |
|---|---|
| Next by Date: | Re: sqlite_exec_vprintf & sqlite_exec_printf: 00109, D. Richard Hipp |
| Previous by Thread: | Re: memory usagei: 00109, D. Richard Hipp |
| Next by Thread: | Re: memory usage: 00109, D. Richard Hipp |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |