Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
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.
Comments
Comment #1
helpiekelpie CreditAttribution: helpiekelpie commentedThis 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.
Comment #2
dgtlmoon CreditAttribution: dgtlmoon commentedworked pretty good for me, can you reduce your modules until the error goes away?