Run composer without memory limits

Run composer without memory limits

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

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:

php -d memory_limit=-1 composer.phar install