On many hosting providers the default PHP Memory is usually 32 or 64 MB, however for WordPress that may not be enough sometimes, especially if you have a lot of plugins installed on your website.
We recommend to increase the memory to at least 256 MB.
If you’re not sure what is the current memory on your website, you can find out that in the Tools > Site Health page, under the Site Info tab:
To address memory limit issues, there are two ways:
1. Increase it yourself by editing the “wp-config.php” file;
2. Contact your hosting company
The easiest solution to increase the WordPress memory limit is by editing the file “wp-config.php” from your WordPress directory.
Find the the line that says:
/* That’s all, stop editing! Happy publishing. */
then add this code before that line:
define( 'WP_MEMORY_LIMIT', '256M' );
Should you not feel comfortable in trying the above methods, or the above did not work for you, you need to talk to your hosting about having them increase your memory limit.