0

Can anyone help me to for the below error while updating from default mode to production mode in magento2 I get the below error .

Error: Command returned non-zero exit code

Thanks in advance

1
  • increase the memory limit in php.ini to 512M and then check is it worked or not . To increased memory temporary you can use like php -dmemory_limit=1G namespace:command Mar 24 '17 at 5:13
2

You need to increased Php memory from php.ini file .

You can increase the memory limit in php.ini to 512M and then check is it worked or not .

To increased memory temporary you can use like php -dmemory_limit=1G namespace:command

For more reference refer this link - https://github.com/magento/magento2/issues/2972

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.