Unable to recreate feature in drupal 7
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
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:
So the index.php now looks like this:
I would not recommend doing this on a production server though