Monday, April 30, 2018

Magento 2 console memory size issue

Use below command when you want to execute some Magento 2 console command and face "Fatal error: Allowed memory size of ..." kind of issue

php -dmemory_limit=1G bin/magento <your command>

Where memory_limit is set for 1 G it can be change as per your type of command and operation what you are executing using Magento 2 console.

No comments:

Post a Comment