Hi all,
I am using sqlite2.8.17 for linux2.6. My program
is as following:
int main()
{
sqlite *db;
while(1){
db = sqlite_open("./example.db",0777,0);
if(db == 0){
printf("Could not open database.");
exit(1);
}
sleep(2);
sqlite_close(db);
}
return 1;
}
When I use cat /proc/meminfo, I found the MemFree is
decreasing. Does that means some degree memory leak to
Sqlite2.8.17?
Best regards
mycmos
___________________________________________________________
Mp3疯狂搜-新歌热歌高速下
http://music.yahoo.com.cn/?source=mail_mailbox_footer