Fatal error: Allowed memory size of 262144 bytes exhasted in Unknown on line 0
Permalink
We have a site that is running C5 v5.4.1 on a dedicated server Optimized3 running PHP 5.3.3
The trouble we are experiencing is memory allocation. When we set the memory limit to 32Mb we get the fatal error, Fatal error: Allowed memory size of 262144 bytes exhasted (tried to allocate 523800 bytes) in Unknown on line 0. This error only occurs after a couple of days, ie we set the limit to 32Mb on Friday and all went well over the weeknend, then Monday morning, Wam! Fatal error occurs.
The other worrying factor is that we have run tests showing that the PHP is requesting over 200mb of memory for no good reason.
The site also runs an Actinic shop from the CGI and the VPS uses cPanel control panel.
Any help or guidance will be greatly appreciated.
ADDED: Sorry should have mentioned we have tried all the php.ini tricks, currently set to -1 but as soon as we set it to 32Mb it errors, also a bit baffled as to the 'in Unknown on line 0' line of the error, this doesn't target a specific php as other similar error seem to.
The trouble we are experiencing is memory allocation. When we set the memory limit to 32Mb we get the fatal error, Fatal error: Allowed memory size of 262144 bytes exhasted (tried to allocate 523800 bytes) in Unknown on line 0. This error only occurs after a couple of days, ie we set the limit to 32Mb on Friday and all went well over the weeknend, then Monday morning, Wam! Fatal error occurs.
The other worrying factor is that we have run tests showing that the PHP is requesting over 200mb of memory for no good reason.
The site also runs an Actinic shop from the CGI and the VPS uses cPanel control panel.
Any help or guidance will be greatly appreciated.
ADDED: Sorry should have mentioned we have tried all the php.ini tricks, currently set to -1 but as soon as we set it to 32Mb it errors, also a bit baffled as to the 'in Unknown on line 0' line of the error, this doesn't target a specific php as other similar error seem to.
Hey, Thanks for the quick response, in answer to your question, we have a test.php which hopefully can answer your questionshttp://tinyurl.com/3a7l88x
Please let me know if you require anything else
Please let me know if you require anything else
Hi Can anyone help with the issues we are experiencing? Thanks
Having the same problem except it does look like a problem in backup.php. This is from my error log:
[05-May-2012 07:07:12] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 29529579 bytes) in /home2/pacesinf/public_html/paideia/updates/concrete5.5.1/concrete/libraries/backup.php on line 19
are there any restrictions?