1 Step to Fix WordPress Memory Exhausted Error – WordPress Tips

By | April 23, 2019

WordPress Memory Exhausted Error like:

Why does this error occur?

Because PHP limits the space of wordpress memory default, wordpress need more size.

To fix this error, we can do:

Step 1: Edit wordpress config.php file

This file is located in your WordPress site’s root folder, open it and add or edit code below before all valid code line in this file.

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

This code tells WordPress to increase the PHP memory limit to 256MB.

Leave a Reply

Your email address will not be published. Required fields are marked *