ext:set-limit
— Set a memory or stack limit.
(ext:set-limit
concept
value)
| A symbol. |
| A positive integer. |
Changes the different memory and stack limits that condition
ECL's behavior. The value to be changed is denoted by the symbol
concept
, while the
value
is the new maximum size. The valid
symbols and units are listed in Table 5.1.
Note that the limit has to be positive, but it may be smaller than the previous value of the limit. However, if the supplied value is smaller than what ECL is using at the moment, the new value will be silently ignored.
Table 5.1. Customizable memory limits
Concept | Units | Default | Command line |
---|---|---|---|
ext:frame-stack | Nested frames | 2048 | --frame-stack |
ext:binding-stack | Bindings | 8192 | |
ext:c-stack | Bytes | 128 kilobytes | --c-stack |
ext:heap-size | Bytes | 256 megabytes | --heap-size |
ext:lisp-stack | Bytes | 32 kilobytes | --lisp-stack |