/
Important Limitations and Known Issues
Important Limitations and Known Issues
Variables Should Not Be Declared inside the Loops
The following code can result in an error message "Too many new instances created" in the server log:
for (...) { def var = [:] }
So you should always change it to this form:
def var for (...) { var = [:] }
The technical background is that the first script allocates a new variable which can increase the number of FormulaSandbox instances (above the limit).
, multiple selections available,
Related content
Event Hook Logic
Event Hook Logic
Read with this
Put "def" Outside of Loops
Put "def" Outside of Loops
More like this
Calculation Flow Execution Process
Calculation Flow Execution Process
Read with this
How Input Generation Mode Works
How Input Generation Mode Works
More like this
EventType Class
EventType Class
Read with this
How I can resolve 'too many new instances created: 503" error?
How I can resolve 'too many new instances created: 503" error?
More like this
Found an issue in documentation? Write to us.