Drupal Content Type edit screen failing to load? Try the Token Tweaks module

Lots of fields + Automatic Nodetitles + Tokens = broken edit page for all your Content Types. Enter Token Tweaks module, stage right...

We've been working on a new Drupal 7 site that built up a lot of fields. We started experiencing a problem. Visiting the edit screen for any Content Types was exhausting the server's memory. First port of call was to raise the server's 'memory_limit' declaration in php.ini, but we didn't want to do this on the live site so we had to get to the bottom of the issue before launch. Thanks to this thread on drupal.org, we dug deep and unearthed the Token Tweaks module.

This helps you by providing configuration options, so that when Tokens and Automatic Nodetitles make the edit screens fall over, you can:- install the Token Tweaks module, then sett the Maximum depth limit for the token UI to 2 in the admin menu's 'Configuration->System->Tokens' screen This allowed us to successfully reduce the server's memory_limit setting in php.ini to a sane setting again (memory_limit = 256M is now fine). If your edit screens are gasping for air, it might be because Automatic Nodetitles combined with lots of Drupal fields in your install are just too much.

If so, give Token Tweaks a gander: Token Tweaks - http://drupal.org/project/token_tweaks