Increasing the WordPress memory limit is a common solution to address issues related to memory exhaustion and to optimize the performance of your website. By expanding the memory limit, you allow WordPress to allocate more memory for its processes, which can help improve the overall stability and functionality of your site. Here are the steps to increase the WordPress memory limit:
Caution: It is strongly recommended that you create a backup of your site before making any modifications to the wp-config.php file.
1. Access files in your Managed WordPress account.
2. Locate the file wp-config.php in the root directory or folder.
3. Double-click the wp-config.php file to open it.
4. Select Edit.
5. Find the line
/* That’s all, stop editing! Happy publishing. */

6. Right above the line in step five, add this code:
define(‘WP_MEMORY_LIMIT’, ‘512M’);
7. Save the changes made.