Use following command to compile code:
php bin/magento setup:di:compile
if memory allocation error occurs While using the above command then use the following command:
php -d memory_limit=2G bin/magento setup:di:compile
php bin/magento setup:di:compile
if memory allocation error occurs While using the above command then use the following command:
php -d memory_limit=2G bin/magento setup:di:compile
Comments
Post a Comment