I made my first application on codeigniter, at first it was working fine.
But when I looked at the memory of the server, it is very high, starts with little use, and with each request it increases the use and does not release more.
I do not know what to do at the moment. I already used the code $db['default']['save_queries'] = FALSE;
But it did not work, I added the code
function __destruct() {
unset($this);
}
to try to free the memory used in $ this, but it did not do much for anything.
Any ideas how to free up used memory?
Thank you