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.
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.
Comments
Post a Comment