0

In my Magento store, I got the below error.

Fatal error: Allowed memory size of 2122317824 bytes exhausted (tried to allocate 546563077 bytes) in /home/wanstallscustom/public_html/includes/src/Zend_Log_Formatter_Simple.php on line 103

Our server admin says that 2GB(memory Limit) is the limit right now and he said it should be more than enough.

Please suggest me any solution to handle such type situation.

-1

You have few variants:

1. you can check your memory_limit in your public_html/.htacess file, default value there is 256M you can try to change that value with 2048M

php_value memory_limit 2048M

2. In your public_html folder you have a php.ini.sample file, just rename that file with php.ini and change the value 64M with 2048M:

memory_limit = 2048M

  • 1
    there is already 2gb memory limit – MagenX Nov 2 '17 at 9:31
  • 1
    she need to try can be just a server issue – Robert Nov 2 '17 at 10:02
  • Our server admin says that 2GB is the limit right now and he said it should be more than enough. – Priyanka Singh Nov 2 '17 at 10:50
  • but what you in this file? home/wanstallscustom/public_html/includes/src/Zend_Log_Formatter_Simple.php can you put the code here? – Robert Nov 2 '17 at 11:01
  • No. I didn't add anything in this file – Priyanka Singh Sep 25 '19 at 10:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.