|Did you know ...||Search Documentation:|
|Controlling the stack sizes|
As of version 7.7.14 the stacks are no longer limited individually. Instead, only the combined size is limited. Note that 32 bit systems still pose a 128Mb limit. See section 2.20.1. The combined limit is by deault 1Gb on 64 bit machines and 512Mb on 32 bit machines.
For example, to limit the stacks to 32Gb use the command below. Note
that the stack limits apply per thread. Individual threads may
be controlled using the
stack_limit(+Bytes) option of
thread_create. Any thread can call set_prolog_stack/2
to adjust the stack limit.
$ swipl -S32g