Magento 2 – Fix setup:static-content:deploy Memory Error

climagento2

I am trying to install quick setup of theme also did but css and js is not loading so i run command.
php bin/magento setup:static-content:deploy -f
but every time getting error like memory error
and also getting error related to execution time
is there any solution?

Best Answer

You can pass memory limit parameter.

php -dmemory_limit=6G
bin/magento setup:static-content:deploy