increase memory for composer code example
Example 1: composer memory limit
php -d memory_limit=512M /usr/local/bin/composer update
Example 2: Composer Memory
/bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
/sbin/mkswap /var/swap.1
/sbin/swapon /var/swap.1