Sometimes when you are running composer update/install you get a message similar to this:

bash
1
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32 bytes)

You can easily overcome this by running composer command with the php flag for no memory limit, like this:

bash
1
php -d memory_limit=-1 composer.phar install