Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC)
Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC) is generated when all allowed memory consumed and no memory is available to process to request. To resolve this issue either increase memory limit in your code as below in your index.php file in root.
ini_set('memory_limit', '-1');
Or The correct way is to edit your php.ini
file. Edit memory_limit
to your desired value.
For this follow step:
Step 1.
Open current used php.ini file.
Step 2.
Find memory_limit = 128M.
Step 3.
Replace it with your value.
memory_limit = 2048M.
Step 4.
Save your file.
Step 5.
Restart server (Apache or For Nginx php-fpm)
Keywords: