Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar://C:

PHP
export COMPOSER_MEMORY_LIMIT=-1
Source

Also in PHP: