Magento – why the magento 2 localhost setup in very slow

clilocalhostmagento2timeout

When i run cli cmds it's take to much time

  >php bin/magento s:s:d -f 



frontend/Magento/luma/en_US             2918/2918           ===100% %  10 mins            
frontend/Solwin/kosmic_child/en_US      3088/3088           == 100% %  44 mins

it's more time and storage

Best Answer

You have two option

  1. run the command with -dmemory_limit=5G

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

  2. Update your local system with SSD drive.

Related Topic