Stream: shorthand
Topic: Sushi: Maximum call stack size exceeded ?
Janaka Peiris (Jul 22 2021 at 12:29):
I'm getting this error, any idea what can cause this ?
error Maximum call stack size exceeded
File: D:\_dev\Git_Repo\DIPS\FhirImplementationGuide\R4\VitalSigns\input\fsh\HnDomainVitalSignsObservationBodyMassIndex-Profile.fsh
Line: 1 - 78
error Maximum call stack size exceeded
File: D:\_dev\Git_Repo\DIPS\FhirImplementationGuide\R4\VitalSigns\input\fsh\NoDomainVitalSignsObservation\NoDomainVitalSignsObservationBodyMassIndex-Profile.fsh
Line: 1 - 37
Chris Moesel (Jul 22 2021 at 13:17):
I haven't seen one of those for a long time... Usually it means there is some infinite recursion loop happening. This could just be a bug in SUSHI or it could be some recursive loop introduced by your profiles. For example, do any profiles have a hierarchy that introduces a recursive cycle (e.g., A declares B as parent, B declares C as parent, C declares A as parent)? Do any profiles constrain properties to themselves (and then constrain a sub-property that would require expansion of the property details)? If your code is available in GitHub, we could probably take a look.
Elliot Silver (Jul 22 2021 at 15:25):
Andy Harrison (Jan 10 2022 at 11:41):
(deleted)
Last updated: Apr 12 2022 at 19:14 UTC