PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, January 6, 2022

[FIXED] how to solve PHP Fatal error: Out of memory, when I try this command "composer require laravel/ui" for auth file.?

 January 06, 2022     cmd, composer-php, laravel     No comments   

Issue

I try memory_limit=-1 or 526M or 1000M, but showing same error repeated.Please help me!!!!

D:\xampp\htdocs\elevenMedia>composer require laravel/ui Using version ^2.0 for laravel/ui ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev)

VirtualAlloc() failed: [0x00000008] Not enough storage is available to process t his command.

VirtualFree() failed: [0x000001e7] Attempt to access invalid address.

VirtualAlloc() failed: [0x00000008] Not enough storage is available to process t his command.

VirtualFree() failed: [0x000001e7] Attempt to access invalid address.

PHP Fatal error: Out of memory (allocated 908066816) (tried to allocate 4096 by tes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Depen dencyResolver/Solver.php on line 223

Fatal error: Out of memory (allocated 908066816) (tried to allocate 4096 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Dependency Resolver/Solver.php on line 223


Solution

You can try installing this package that enables parallelization of the downloads.

composer global require hirak/prestissimo

Also when running your composer command use the -vvv flag if you are running into issues.

  composer require laravel/ui -vvv


Answered By - Kurt Friars
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home
View mobile version

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing