I am getting White Screen of Death while trying to clear the cache in Drupal 7 installation. In my local machine it caused me no problem. The issue started when I deployed it to server. I tried to display the errors using the code,
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
in index.php. And it shows out-of-memory error. I tried to increase the memory limit in php.ini file and it was of no use..
Anyone got any idea why this is dying when cache is cleared?
Finally the problem got solved with a single line of code in settings.php. I added ini_set('memory_limit', '32M');
in settings.php file and now the cache is being cleared. :)
As a reference, you can take a look at Drupal WSOD