Zarx Biz
Just add
COMPOSER_MEMORY_LIMIT=-1
Before any command like
COMPOSER_MEMORY_LIMIT=-1 composer update