Like Us Like Us Facebook Subscribe Subscribe us YouTube Whatsapp Share us Whatsapp Query Send your queries

Magento 2.X fixing Allowed memory size of 792723456 bytes exhausted

Magento 2.X fixing Allowed memory size of 792723456 bytes exhausted

If you are using Magento 2.X and running some command using SSH and getting this “Fatal error: Allowed memory size of 792723456 bytes exhausted (tried to allocate 184320 bytes) ” then one is a memory related problem. If you want to run Magento 2.X smoothly then please allot at least 2GB RAM otherwise you may get problem.

Now coming to topic how to fix this Problem
“Fatal error: Allowed memory size of 792723456 bytes exhausted (tried to allocate 184320 bytes) ”

You can use the command below as per your need :

php -d memory_limit=2G bin/magento setup:upgrade
php -d memory_limit=2G bin/magento setup:static-content:deploy -f
php -d memory_limit=2G bin/magento setup:di:compile
php -d memory_limit=2G bin/magento indexer:reindex
php -d memory_limit=2G bin/magento cache:flush
php -d memory_limit=2G bin/magento cache:clean && php bin/magento cache:flush
php -d memory_limit=2G bin/magento catalog:image:resize

Extension status, enable and disable

php bin/magento module:status
php bin/magento module:disable Mageplaza_SocialLogin
php bin/magento module:enable Magento_Weee

5 1 vote
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments