I was trying to install intervention/image into my Laravel project by using the command "composer require intervention/image" in command prompt. However an error message showed saying "Out of memory". Does anybody know how to solve this problem?
My Laravel version is 7.15.0.
Any help would be appreciated as I have tried multiple methods with no success.
Thank you in advance.
I would recommend updating Composer to version 2 as it introduces numerous improvements (which can be found here). One of the improvements is:
"...downloading files in parallel using curl and constraint evaluation optimizations"
This leads to massive improvements for memory usage.
composer selfupdate --2
If you run in to issues or you need to rollback:
composer selfupdate --1
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments