SQLite Forum

How to free max heap size on execution of sqlite query using sqlite3_exec?
Login
I have seen that when I execute sqlite query each time max heap size continuously increasing  I want to free it on my device.

How to free it after execution? Because I know that once ram done it's work it is not need to occupy heap memory. I need technical solution for this problem. 

Just for your information I am writing query for get and set 2104 records.