Fixing Composer out-of-memory issues

25th July 2020

If you find yourself getting out-of-memory errors when running composer install or composer update, here's a quick and simple way to run it to avoid that:

php -d memory_limit=-1 /usr/local/bin/composer