How to set composer memory limit when running composer commands

    By: Manu
    3 years ago

    Just add

    COMPOSER_MEMORY_LIMIT=-1 
    

    Before any command like

    COMPOSER_MEMORY_LIMIT=-1 composer update