PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted
php --ini
nano /etc/php5/cli/php.ini(it could be different for you)
Search for memory_limit by(ctrl + w)
make memory_limit to -1or2G (depending on what you can increase to)
save by(ctrl + x) then enter