In my drupal developer environment i had a problem which made it impossible to recreate features. When clicking the recreate tab all i would see was a blank page.
First it’s hard to troubleshoot without an error message. So adding this code to index.php will display the error.
Now when reloading I could see the following error message:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 115619 bytes) in /var/www/drupal/public/includes/common.inc on line 5849
Memory leak
This probably is happening because of a memoryleak somewhere. But since this only occurs in my dev environment and at this point a quick fix is needed, so i decided to override the maximum amount of memory that scripts can use with this line in index.php:
ini_set(‘memory_limit’, ‘-1’);
So the index.php now looks like this:
I would not recommend doing this on a production server though
I hope you find this post valuable. If you click the ad below I get paid by someone else and can continue to publish posts for free. I would appreciate it very much.