Question : php memory_limit unlimited
Answered by : eswaran-m
//Unlimited momory limit
ini_set('memory_limit', '-1');
//Fixed memory limit
ini_set('memory_limit','2048M');
Source : | Last Update : Mon, 07 Dec 20
Question : check php memory limit
Answered by : osamu
php -i | grep memory_limit
Source : https://laracasts.com/index.php/index.php/discuss/channels/laravel/php-fatal-error-allowed-memory-size? | Last Update : Mon, 20 Jun 22
Question : Increase the PHP memory limit
Answered by : liam-best
/*
To increase the PHP memory limit setting, edit your PHP.ini file found under /usr/local/etc/php/7.4/.
Increase the default value (example: Maximum amount of memory a script may consume = 128MB) of the PHP memory limit line in php.ini.
*/
memory_limit = 256M
Source : https://haydenjames.io/understanding-php-memory_limit/ | Last Update : Tue, 10 Nov 20
Question : Define memory limit in PHP
Answered by : softhunt
define('WP_MEMORY_LIMIT', '128M');
Source : https://softhunt.net/how-to-resolve-elementor-stuck-on-loading-screen/ | Last Update : Thu, 14 Apr 22