Select to view content in your preferred language

An error occurred when rendering by the report engine. Maximum call stack size exceeded

1057
8
07-12-2024 12:24 PM
DuncanC
Frequent Contributor

Anyone have any experience with this error message?

I have a survey with a couple repeats.  Everything is fine until there is a lot of items in the repeats and then I get this error and can't output a report.  The number of items allowed before a lot turns into too many seems to be surprisingly low. I have 40 some items in one repeat, and 100 in another, max call stack size exceeded.. If it only has the 40 items in the one repeat that's fine.  Or the 100 in the other.  But I can't output a report with both.

The survey can have the 'too many' items in the repeats, so long as the report template only deals with one repeat it will complete.

I'm working around it, but I'm wondering if anybody has any insight on what exactly upsets it so I can optimize things and avoid that error message as much as possible.

8 Replies
SusanPollard
Occasional Contributor

Was there a solution to this I have the same issue

0 Kudos
DuncanC
Frequent Contributor

No.  I didn't find any further information on this. I never did any better than the workaround I talked about in the original post.  My solution was to move away from trying to use the report templates.  Unless the request is incredibly simple I'd DIY the document generation in python.  That sounds like it should be less efficient but the report templates have wasted enough of my time fighting with them I'm convinced it's actually much faster.

0 Kudos
SusanPollard
Occasional Contributor

Thanks. That was the conclusion I came to too. I see portal Enterprise 11.4 has a report tool for surevy123 in experience builder now, but I am also reluctant to waste more time with it.

0 Kudos
Khanlalaafridi
New Contributor

PicsArt is an amazing tool for creative edits, but unlocking its full potential with premium features makes it even better. If you want access to exclusive filters, effects, and tools, check out  PicsArt Gold Unlocked for the ultimate editing experience!

0 Kudos
JulieYoung
Emerging Contributor

It sounds like the report engine struggles with handling large data sets in multiple repeats, likely due to memory limitations. Optimizing your template to process one repeat at a time seems like a good workaround. Similarly, some users experience issues with video editing apps when handling complex projects. If you're facing problems like crashes or lag, this guide on alight app not working provides solutions to troubleshoot common errors and fixes. Hope you find a solution!

0 Kudos
JulieYoung
Emerging Contributor

It seems like the report engine runs into memory limitations when processing large data sets across multiple repeats. Adjusting your template to handle one repeat at a time is a smart workaround. Similarly, many users encounter issues with video editing apps when dealing with complex projects. If you're facing crashes or performance glitches, this guide on alight app not working offers helpful solutions to troubleshoot common errors. Hope this helps!

0 Kudos
phppython
New Contributor

I'm working around it, but I'm wondering if anybody has any insight on what exactly upsets it so I can optimize things and avoid that error message as much as possible. Further check out PICSART FONTS to discover more

0 Kudos
davidson00999
New Contributor

It seems the "max call stack size exceeded" error occurs when there are too many items in the repeats of your survey. To fix this, try breaking up the items into smaller groups or optimizing the report template to handle fewer items at once.

For well-optimized digital platforms, check out Loja Pokémon Super, an online store offering authentic Pokémon TCG products with a seamless experience. Visit: https://lojapokemonsuper.com

0 Kudos