Question : PHP Fatal error: Allowed memory size of 134217728 bytes exhausted
Answered by : muchlis-fanani
memory_limit = 64M;
Source : https://www.jagoanhosting.com/tutorial/tips-hosting/fatal-error-allowed-memory-size | Last Update : Sat, 19 Sep 20
Question : magento Fatal error: Allowed memory size of 134217728 bytes exhausted
Answered by : mohamed-sami-khiari-jbn3p27ui0vb
A quick solution for memory limit in Magento 2 command is directly adding memory limit inside command.
For Compilation command,
php -dmemory_limit=5G bin/magento setup:di:compile
For Deployment
php -dmemory_limit=5G bin/magento setup:static-content:deploy
Source : | Last Update : Thu, 29 Jul 21
Question : Fatal error: Allowed memory size of 134217728 bytes exhausted
Answered by : mohamed-sami-khiari
for wordpress problem in wp-config.php add
-------------------------
ini_set('memory_limit', '1024M');
Source : | Last Update : Sun, 24 Dec 23