composer update failed - out of memory/killed when you install some package by composer require or composer install on your laravel project it will show below errors some time

composer update failed - out of memory/killed

So you don't need to worry about more this error just follow below command line on your server and it will install the package , composer update and composer install on your server also

Here is Solution for composer update failed - out of memory/killed/composer install /package install by composer just write below command


COMPOSER_MEMORY_LIMIT=-1 composer require renatomarinho/laravel-page-speed

1. delete your root folder of composer.lock file
2. delete vendor folder of your root project folder
3. then apply below command and it will solve any type of composer error

4.composer install

That's it and your package or composer install or Composer out of memory problem solved.

Thank you.

Post a Comment

Previous Post Next Post