[eluser]Unknown[/eluser]
True, the memory usage does go up, so if I for example do just this:
Code:
$this->load->library('session');
or
Code:
$this->load->library('session');
$this->load->library('session');
$this->load->library('session');
$this->load->library('session');
// in a row
the amount of memory will be increased!
I guess it is a BUG?, so someone should report it!
Anyway, my sloution for libraries is:
Code:
// solution: not to load library twice, check if is loaded
if(!$this->load->is_loaded('session')
{
$this->load->library('session');
}
And it works more then fine