0

I am running compile command

php bin/magento setup:di:compile

Compilation was started. Repositories code generation... 1/7 [====>-----------------------] 14% < 1 sec 54.0 MiB You have new mail in /var/mail/root

Compilation stop in 1/7 without displaying any error.

May i know why its breaking compilation ?

  • Check the memory limit, script execution time of your server. Also check for any malformed xml files in any of your newly installed modules. – MGento Aug 30 '18 at 4:38
  • which PHP version to use? – Magento Developer Aug 30 '18 at 5:38
  • 1
    use php bin/magento setup:di:compile -vvv to display error if any. – Prasanta Hatui Aug 30 '18 at 5:46
0

Could be memory-related?

Try increasing the memory limit:

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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