sqlite3_release_memory(int n) internally calls
sqlite3pager_release_memory(int n)

 

A negative value of input n implies free as much as you can. Suppose if
the no of pages in cache = x. Will all the pages be freed when I call
sqlite3_release_memory with a negative argument? If not, then what makes
it prevent from freeing up all the pages? 

 

What is the difference between calling sqlite3_release_memory with
negative value as argument and executing the PRAGMA cache_size = 0?

 

Regards,

Phani

 

Reply via email to