This error is very common error to word press user
“Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in /home4/xxx/public_html/wp-includes/plugin.php on line xxx”
WordPress is written in PHP, which is a server-side programming language.
web server need memory to efficiently run multiple applications at the same time
Server administrators allocate specific memory size to different applications including PHP
By default, WordPress automatically tries to increase PHP memory limit if it is less than 64MB. However, 64MB is often not high enough.
Having said that, let’s see how to easily increase PHP memory limit in WordPress to avoid memory exhausted error.
Increase PHP Memory Limit
you need to edit the wp-config.php file on your WordPress site. It is located in your WordPress site’s root folder
Next, you need to paste this code in wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’
This code tells WordPress to increase the PHP memory limit to 256MB.
after that you need to save your changes and upload your wp-config.php file back to your server.
You can now visit your WordPress site and memory exhausted error removed
*** If this solution does not work for you, its means your web hosting service provider does not allow WordPress to increase PHP memory limit. You have to ask your web hosting provider to increase your PHP memory limit manually.