Wednesday, 18 August 2021

Fatal error: Allowed memory size of 1610612736 bytes exhausted in laravel Installation

 We need to Increase the limit by Editing php.ini files(xampp/php/php configuration file).

Open that file and search memory_limit.

Now we have to Write Memory_limit = -1 (This means use of unlimited size) and save it.

Now Try to create project by laravel new ProjectName.

Or, you can increase the limit with a command-line argument:

cmd: php -d memory_limit=-1 composer.phar require hwi/oauth-bundle php-http/guzzle6-adapter php-http/httplug-bundle