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

  • Which operating system? Commented Feb 18, 2019 at 11:58
  • it's not slow by default , there might be some changes you made that made it slow
    – fmsthird
    Commented Feb 18, 2019 at 12:12
  • Ubuntu 18......... Commented Feb 18, 2019 at 12:21
  • 1
    how are your caches enables/disabled? Commented Feb 18, 2019 at 12:32
  • enabled......... Commented Feb 18, 2019 at 12:42

2 Answers 2


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.

  • i have doubt what is SSD drive Commented Feb 18, 2019 at 12:46
  • Like a memory stick, there are no moving parts to an SSD. Rather, information is stored in microchips. Conversely, a hard disk drive uses a mechanical arm with a read/write head to move around and read information from the right location on a storage platter. This difference is what makes SSD so much faster. Commented Feb 18, 2019 at 12:47
  • magento.stackexchange.com/questions/9152/… Commented Feb 18, 2019 at 12:50
  • I use ssd but disk usage stays on 0% through out magento surfing. any idea what's wrong ? Commented Jul 18, 2020 at 12:44

Ensure you are in developer mode. You should not need to run SCD on you local, the files not being there will trigger Magento to symlink the files to the source files so any changes are immediate on refresh.

Your Answer

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

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