Are you trouble with wordpress php memory limit issue that says: Fatal Error: Memory Size Exhausted? Or maybe your website just went white screen? when you install a new theme, plugin or upgrade your WordPress to the latest version.
The main cause of this error is that the PHP memory limit of your host is lesser than the process actually needs. In such cases, you will need to increase your host memory limit, so that the process gets completed. You can increase your host memory limit by following methods mentioned below.
1. Method One: wp-config.php
You can use this method that helps increase memory limit through the wp-config.php. You can add the following line of code in your wp-config.php file before
/* That’s all, stop editing! Happy publishing. */.
2. Method Two: Modifying the .htaccess file
You have to login your hosting cPanel and click file manager there have the .htaccess file where you can simply add a line of code to increase the memory limit.
php_value memory_limit 256M