I am running command setup:static-content:deploy -f its running for while, but after sometime it got killed in magento2.3.2. Please let me know the exact issue for this.

  • 1
    is it incomplete? or any error you are getting? Jan 7, 2020 at 7:17
  • 1
    try -dmemory_limit=-1 bin/magento setup:static-content:deploy -f Jan 7, 2020 at 7:19
  • please share error details. Jan 7, 2020 at 7:47
  • I run deploy command.it does execution,after some time it got killed, Jan 7, 2020 at 9:22

1 Answer 1


Please try below command

php bin/magento  c:c

php bin/magento  setup:upgrade

php -d memory_limit=5G bin/magento setup:static-content:deploy

php -d memory_limit=5G bin/magento setup:di:compile

Hope it works!

  • 1
    You save my day! Thanks :) php -d memory_limit=5G was the key for me. Mar 25, 2020 at 11:13
  • 1
    @hayatbiralem thanks mate Mar 25, 2020 at 13:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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