PHP is intermittently reporting ridiculous allocation errors.
Fatal error: Allowed memory size of 134217728 bytes exhausted
(tried to allocate 4348209864 bytes) in Unknown on line 0
It tried to allocate more than 4GB of memory. What? Where is Unknown line 0
? Where did it try to allocate?
I am not explicitly allocating any memory in my PHP code and I am not using anything other than stock PHP calls. I see that the last line of raw HTML in my PHP file (after i exit the php block) is emitted and in the loaded page, so the problem doesn't appear to be occurring in my actual PHP code. Code it be something that I am doing that is triggering this?
I have found that this seems to happen more frequently if I try to reload a PHP file in the browser shortly after having edited the actual PHP file, but I don't know if this is a good data point or not.
PHP version is 5.3.26.
Why am I getting these errors, and is this something I need to worry about for production?