Memory exception saving a user with a lot of content

Created on 24 May 2023, over 1 year ago
Updated 4 December 2023, 12 months ago

Problem/Motivation

When saving a user with a few content entities linked to the user (50+), I get an "Allowed memory size of x bytes exhausted".

Steps to reproduce

Leave memory limit at the default of 128M.
Enable this module and create (50+) content items (with entity references to 3 vocabularies) with the same user. Try saving the user profile.

Proposed resolution

Invalidate the cache in chunks to avoid using to much memory.

Remaining tasks

testing

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇧🇪Belgium cgoffin

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

Comments & Activities

Production build 0.71.5 2024