Out of memory on main module page

Created on 23 June 2022, over 2 years ago
Updated 25 September 2024, 5 months ago

Problem/Motivation

I am experiencing an out-of-memory issue on the main Content sync module page (/admin/config/development/content).

Steps to reproduce

Error occurs loading the page after selecting the Content sync module from the admin/config/development menu.

This error occurs on my staging platform, but not on a similarly specced copy of the system running locally. I've therefore had trouble debugging it adequetely.

Proposed resolution

Without being able to debug it, I can't identify the cause directly, but the page does load a potentially very large list of items to be synchronised. I've had similar issues with Drupal in my own modules when iterating through large lists of entities, and the solutions have been either to paginate the results, or purge the memory usage at regular intervals during the loading loop. Either of these would probably solve the problem, but I suspect the latter would be easiest to implement into the existing code.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

User interface

Created by

🇬🇧United Kingdom Spudley

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