Limits Properties

Description Define execution limits for Ioto.
Synopsis limits: { stack: "Number" }
Example limits: { stack: '16K', },
Notes

The limits property collection defines various execution limits for Ioto.

The limits.stack property specifies the stack size for Ioto coroutines. This should be set to the maximum anticipated stack size for your executing code. Supplied Ioto code requires a stack size of 12K minimum.

It is recommended that you minimize your use of big stack buffer variables and your use of deep recursion both of which require much bigger fiber stacks.

© Embedthis Software. All rights reserved.