Composer error


  • | 95 points

    When running composer commands thru PHP storm i am getting this error, i have set the memory size limit to -1 in the php.ini file and i still get this error, any suggestions?

    Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar://C:/laragon/bin/composer/composer.phar/src/Composer/DependencyReso
    lver/RuleWatchGraph.php on line 52


  • | 188 points

    This type of command worked for me when having issues with out of memory errors and composer commands:

    php -d memory_limit=-1 C:\laragon\bin\composer\composer.phar install

    I realize this is a late reply and might not help in this situation but since there were no replies and this is one of the first Google searches for this type of issue I thought I'd share my workaround.


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.