Latest Posts
Home =>> Fix Error =>> Fix Wordpress Error =>> The WordPress Memory Exhausted Error – Increase PHP Memory value
increase php memory in wordpress

The WordPress Memory Exhausted Error – Increase PHP Memory value

This is one of the common wordpress errors.For the beginners this error may not understands because they might not aware of php.ini and wp-config.php.Okay,let us go into the topic.By default wordpress is automatically tries to increases the memory limit if its less than 64MB.This error diplays as show in below .
Fatal error: Allowed memory size of 38552032 bytes exhausted (tried to allocate 2848717 bytes) in /Homehesta/xxx/public_html/wp-includes/plugin.php on line xxx
fix code error_php memory limit

Increase the memory limit value in php.ini file.If this php.ini file is not found in your public_html directory,No worries.Simply create php.ini file and paste the below code into the file and save it.

ini_set('memory_limit', '64M');

That’s it you are fixed the error.
You can fix the same by playing with wp-config.php file.Edit your wp-config.php file and add below line of code into your file.Better to add under database connection code.

define( 'WP_MEMORY_LIMIT', '256M' );

We can say that with this this error will be fixed.“Happy Coding.!”

Leave a Reply

x

Check Also

Creating magento customers custom group,

Steps to Creating Magento Customer’s Custom Groups

Create a Magento Customer’s Custom Group Setting up a custom user group in magento is very easy. You can create a new group from the admin admin area of Magento. You just go to Admin ...