magento 2 Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.%
Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.%
magento2 :
解决方案
运行以下命令:
静态内容部署:
php -dmemory_limit=6G bin/magento setup:static-content:deploy
缓存刷新:
php -dmemory_limit=6G bin/magento cache:flush
设置升级:
php -dmemory_limit=6G bin/magento setup:upgrade