1
I made my first application in codeigniter, at first it was working all right.
However when I looked at the server memory, it is very high, it starts with little use, and with each request it increases the use and does not release more.
I don’t know what to do at the moment. I’ve used the code $db['default']['save_queries'] = FALSE;
But it didn’t work, I added the code
function __destruct() {
unset($this);
}
to try to free up the memory used in $this, but it didn’t do much good either.
Any idea how to release the memory used?
Thank you
it would be good to make a Profiling of the application, I have a question about it, so far only know zend studio as a good tool http://answall.com/questions/28784/profiling-php-debug-tempo-de-execu%C3%A7%C3%A3o
– William Borba
I’ve seen the
Codeigniter
give a few bugs anyway. For example: I’ve done a test, sending great data viaPOST
(form) in a systemCodeigniter
, and the same generated a fatal error (memory exhaustion).– Wallace Maxters
Instead of
unset($this)
, tries to trade for$this->db->close()
in the main model :)– Wallace Maxters