- Issue created by @yobottehg
- Status changed to Closed: works as designed
9 months ago 9:24am 20 March 2024
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.
Closed: works as designed
4.1
Code