Something very strange started happening yesterday while coding.
I was testing a new function, all was going fine. No issues. Was building json object and print_r on screen each time to check the successful building of the object in a testing method.
As I was implementing it into the codebase, again it was still working fine. I then went off to change a different method, updated code to work with that new method and tested it's related screens and all worked fine still.
Then all of a sudden on page reload (after seeing everything work fine), I'm getting a PHP memory leak error.
Fatal error: Allowed memory size of 1342177280 bytes exhausted (tried to allocate 65488 bytes) in D:\public_html\genesis\system\core\Common.php on line 901
This happens no matter what I isolate.
I've even converted the index page to:
public function index() {
echo 'Hello World';
//$this->buildPage("login");
}
and it still throws the error.
I currently have the this for my memory limit:
memory_limit=2480M
It was at 1280, then I added another 1200 and still no difference.
My other sites are loading fine, just this one. But I can't seem to troubleshoot it at all cause I can't get ANY methods to load.
Has anyone else had this issue?
Any ideas on how to figure it out?