Fatal error: Allowed memory size exhausted magento 2

Fatal error: Allowed memory size exhausted magento 2

When allowed memory size exceeded you are getting allowed memory size exhausted error. By following simple steps you can avoid this and your site will up and running again.

Steps to follow:

  1. php bin/magento setup:upgrade
  2. php bin/magento setup:di:compile
  3. php bin/magento setup:static-content:deploy
  4. php bin/magento cache:flush
  5. php -d memory_limit=5G bin/magento

Hope this will help you. That is all from this tutorial. Hope you enjoyed the tutorial. Happy learning ahead. Thanks for reading.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *