PHP WordPress

WordPress memory exhausted error

If you were activating a huge plugin and found an error that says memory exhausted just add the following line of code to your wp-config.php file.

define('WP_MEMORY_LIMIT', '64M');

The above code will increase the memory limit to 64M, but you can change the value to whatever your hosting server is able to support.

Leave a Reply

Your email address will not be published. Required fields are marked *