Out of memory issue on webform_rest/XYZ/elements

Created on 19 March 2024, 9 months ago
Updated 20 March 2024, 9 months ago

For all webforms no matter how complicated I get an out of memory error on the webform_rest/webform_id/elements endpoint.

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4096 bytes) in /app/cms/vendor/symfony/serializer/Serializer.php on line 177

I created the most basic webform with this config:

test:
  '#type': textfield
  '#title': test

This is from a local run with 1024MB memory limit with a GET request on https://cms/webform_rest/test/elements.

This used to work some weeks / month back and i'm actually unsure what is the problem here. Perhaps some change in Symfony serializer / Drupal core?

Drupal core version is 10.2
Symfony serializer is 6.4.4

Any idea to debug this / find the root cause? I'm unsure if this happens with a bare install outside of my project.

💬 Support request
Status

Closed: works as designed

Version

4.1

Component

Code

Created by

🇨🇭Switzerland yobottehg Basel

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

Comments & Activities

Production build 0.71.5 2024