I am using php7.2 and the size is set to memory_limit = 512M
by default.
to increase the size, you need to locate php.ini
.
In Wamp
, it is located in C:\wamp64\bin\php\php7.2.23\php.ini
. Please watch out for the PHP version as it is the name folder, in my case I have php7.2.23
In Laragon
, it is located in C:\laragon\bin\php\php-7.2.23-Win32-VC15-x64\php.ini
as was in my case.
If you don't want to allow unlimited space, you can set whatever size that is convenient to you, in my case I did memory_limit = 2G
if you want to allow unlimited space, you can change to memory_limit = -1