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.

0

1 Answer 1

-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

5
  • 1
    there is already 2gb memory limit
    – MagenX
    Commented Nov 2, 2017 at 9:31
  • 1
    she need to try can be just a server issue
    – Robert
    Commented Nov 2, 2017 at 10:02
  • Our server admin says that 2GB is the limit right now and he said it should be more than enough. Commented Nov 2, 2017 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
    Commented Nov 2, 2017 at 11:01
  • No. I didn't add anything in this file Commented Sep 25, 2019 at 10:35

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