The functionality will setting a maximum instruction limit for interpreter, it has a maximum instruction limit in order to avoid infinite loops. After executing the maximum number of instructions without completing, the interpreter returns a timeout error. The limit default is 100000, which can be reset inside a function to any value up to 2^31 (2147483648)
What is standard limit? It was defined on NX.ENV on NX_SURVEY_ILIMIT parameter from 500 to greater than 100000 or the maximum value 2147483648.
Warning! Long loops can cause performance issue!
By Timur on comment
Know more TEC511829
Where can I find Spel functions documentation?