简体   繁体   中英

Strange Fatal error: Allowed memory size in composer file

i want to import a new bundle to my symfony project but i got this error :

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 64 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Rule.php on line 60

i've tried to update the memory_limits to -1

php -d memory_limit=-1 composer.phar update

message:

Nothing to install or update

i modified my composer.phar manually same error.

Try to run: composer install first, sometimes the app contains some errors that creates a infinite loop, and that cause the memory problem. If you found any error, solve it, and try to run: composer update again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM