nacha's avatar
Level 2

Fatal error: Out of memory (allocated 1283457024) (tried to allocate 134217728 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/RuleSet.php on line 90

when I type 'composer update' I get this error:

VirtualAlloc() failed: [0x00000008] Les ressources mmoire disponibles sont insuffisantes pour traiter cette commande. 

Fatal error: Out of memory (allocated 1283457024) (tried to 
allocate 134217728 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/RuleSet.php on line 90

and i type this

php -d memory_limit=-1 "C:\ProgramData\ComposerSetup\bin\composer.phar" update

but nothing change same error how to solve that thank you

0 likes
3 replies
Nakov's avatar

and this

COMPOSER_MEMORY_LIMIT=-1 composer update
nacha's avatar
Level 2

thank you @nakov I get this

COMPOSER_MEMORY_LIMIT=-1 : Le terme «
COMPOSER_MEMORY_LIMIT=-1» n'est pas reconnu comme nom       
d'applet de commande, fonction, fichier de script ou 
programme exécutable. Vérifiez l'orthographe du nom, ou si  
un chemin d'accès existe, vérifiez que le chemin d'accès 
est correct et réessayez.
Au caractère Ligne:1 : 1
+ COMPOSER_MEMORY_LIMIT=-1 composer update
+ ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (COMPOSER_ME 
   MORY_LIMIT=-1:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
nacha's avatar
nacha
OP
Best Answer
Level 2

solved type : composer selfupdate

Please or to participate in this conversation.