"Fatal error: Allowed memory size of 1610612736 bytes exhausted " +laravel

PHP
export COMPOSER_MEMORY_LIMIT=-1;memory_limit=512M 

Source

Also in PHP: