Last active
October 24, 2018 06:09
-
-
Save abdullahbutt/99b075dc2dd3641e60c74593ea95ae7e to your computer and use it in GitHub Desktop.
Magento Allowed memory size exhausted error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First ONLY run below 2 commands: | |
php bin/magento cache:flush | |
php bin/magento cache:clean | |
Issue should be resolved. | |
If isue persists, try below commands: | |
php bin/magento setup:upgrade | |
php bin/magento setup:static-content:deploy | |
php bin/magento setup:di:compile | |
php bin/magento cache:flush | |
php bin/magento cache:clean | |
//To run command forcefully | |
php -f bin/magento | |
//To run command with memory limit 4G | |
php -d memory_limit=4G bin/magento | |
//To run command with max memory limit | |
php -d memory_limit=-1 bin/magento |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment