I am currently running a medium sized store based upon Magento 1.5.10 however I noticed that recently I get some “PHP Fatal error: Allowed memory size” errors.
Please note that my current memory limit is set pretty high in my .htaccess which is also recognized if I check my phpinfo. This error just occurs from time to time, yet I would like to find out the cause of it and potentially get rid of it.
Here my error_log:
[15-Jan-2013 19:32:47 UTC] PHP Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 63537 bytes) in /home/public_html/includes/src/__default.php on line 2991 [15-Jan-2013 19:36:25 UTC] PHP Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 512 bytes) in /home/public_html/includes/src/__default.php on line 935 [15-Jan-2013 19:46:26 UTC] PHP Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 113 bytes) in /home/public_html/includes/src/Varien_File_Csv.php on line 114 [17-Jan-2013 12:30:26 UTC] PHP Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 7680 bytes) in /home/public_html/includes/src/Mage_Customer_Block_Widget_Dob.php on line 44 [17-Jan-2013 23:57:11 UTC] PHP Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 7680 bytes) in /home/public_html/includes/src/Mage_Sales_Block_Order_Email_Items_Order_Default.php on line 74
Thank you for your reply.
My memory limit as already much higher then the recommended 512 MB - I’ve double checked running a phpinfo script on my Magento installation folder and the memory limit is there as defined in my htaccess, so I think this must be related to something else directly.
The error log states “Allowed memory size of 52428800” which translates to 50MB so I wondering where that is coming from.