A little more RAM each seconds - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: A little more RAM each seconds (/showthread.php?tid=63638) |
A little more RAM each seconds - Alaanor - 11-21-2015 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 Note: I didn't get any help from sitepoint forum, so I try here too. |