Wordpress error - Allowed memory size of ## bytes exhausted

I just came across a problem using wordpress that stopped everything working - any request to the Wordpress site resulted in a blank page. In the log file for the host, I could see:
PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 14592 bytes) in <path to a plugin php file>

Removing the plugin specified just meant that the error was reported for the next plugin.

Searching Google showed many discussions about this problem. Luckily the solution for me was easy enough - as described in this topic:
In <wordpress root>/wp-includes/cache.php I just added:

ini_set("memory_limit","12M");


Popular posts from this blog

Using the Crystal Reports Java API to generate PDF

No Scope registered for scope request

Using Selenium WebDriver to select JSF/PrimeFaces selectOneMenu options