Fatal error: Allowed memory size

Created on 27 May 2017, over 7 years ago
Updated 23 July 2024, 3 months ago

We are using Token for a large .EDU site which has 29 content types, 167 fields, 18 vocabularies, and 34 contrib modules. When Token and Business Rules β†’ are both enabled we receive the following Fatal error:

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 140523879 bytes) in /srv/bindings/611d45201f254779b7491001c71e7441/code/core/lib/Drupal/Core/Database/Statement.php on line 59

When Token is disabled, there is no memory error.

We tried to recreate the error on a clean D8 install, but was unable to replicate it. That's when we realized that it was similar to issues we had on large Drupal 7 sites. With Drupal 7, we were able to resolve this issue by using an awesome module called Token Tweaks β†’ . Token Tweaks helped when accessing the token tree ui by limiting the depth of displayed tokens which stopped memory errors.

Since the site is so large and heavily uses Token, we don't have a way to give you step by step on how to replicate it. However, I would be happy to add Dave or maintainers to our Pantheon dashboard to clone the site.

We appreciate all of the hard work that goes into this module and we are dead in the water without it. :D

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States C13L0

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024