[Codeigniter] A little more RAM each seconds

Hi,

I have a methods, small, but it’s a process that will make more than 100k request (file-get-content) (Yeah, so it’s big !).

I use this function for knowing what performance use my method: memory_get_usage(). And every seconds, it’s up. And after about 10’000seconds. It’s throw a exception because I reach the limit.

And the problem is how to know what consume a little memory and didn’t free after usage. I’m sure at 99% this is not my function. But the Codeigniter MySQL is so suspicious, I suspect the codeigniter query.

If you have any idea of what is that or how to detect this and/or how to fix this, it’s would be nice to share your knowledge.

Thank you for reading.

php -v
PHP 7.0.0RC5 (cli) (built: Oct 21 2015 14:58:58) ( ZTS DEBUG )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
----------------
echo CI_VERSION;
3.0.2

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.