靜水流深
Smooth runs the water where the brook is deep.
2011年3月6日 星期日
SQLite3 記憶體不被釋放的解決方法
資料來源
來源中說的解決方法:
在插入資料的地方將
sqlite3_reset(Stmt) -> sqlite3_finalize(Stmt)
就不會一直咬住記憶體了,也不需要再做close/reopen的動作。
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言