In this tutorial we’ll show you how to fix a common error that can occur when WordPress runs out of resources.
By default WordPress will try to set aside 40M of memory for PHP. However, there are times where this amount is not enough.
Here are a few examples of the PHP memory error:
This error can be fixed by increasing the PHP memory that is available to WordPress. The most common method to fix this is to include a Macro for the WP_Memory_Limit within your wp-config.php file. Below are some examples:
Increasing the WP Memory Limit
1) Login to your WordPress site with an FTP client. We recommend Transmit (for Mac). FileZilla is a free option that is available for multiple platforms.
2) Then browse to your WordPress root or the current location of your wp-config.php file.
3) Open your wp-config.php file with an editor. Next, copy one of the Macros options mentioned earlier and then paste it towards the middle of your wp-config.php file and save changes.
Notes: Get more information on increasing memory for WordPress.
Was this post helpful to you?
Join our newsletter to receive updates!