Welcome Guest, Not a member yet? Register   Sign In
A little more RAM each seconds
#1

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:

Code:
memory_get_usage()

And every seconds, it's up. 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.

Code:
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

Note: I didn't get any help from sitepoint forum, so I try here too.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB