A while ago I had set File (Field) Paths for some image and PDF fields. Now when I want to edit the field settings, I get memory errors like following:

Fatal error: Out of memory (allocated 443547648) (tried to allocate 26668412 bytes) in /foo/includes/common.inc on line 5815

When this module is disabled, I can easily get into the field setting page.

Any help would be grateful.


simplefunction’s picture

This might not be related to Filefields. I ran across the same error and it turned out it was related to tokens. If you didn't have the issue before when setting the fields but do now, it makes me think the token tree has grown. Have you since built out more CCK fields and taxonomies? Loading the token tree on an admin page is really resource intensive and there are discussions about it on the token page. I installed token tweaks http://drupal.org/project/token_tweaks, limited the tree depth (since much of the time I don't need to drill down that far anyway) and it fixed the issue.

dgtlmoon’s picture

Status: Active » Closed (cannot reproduce)

worked pretty good for me, can you reduce your modules until the error goes away?