Đàm Ngọc Lan
New member
How do you limit the size of a stack?
Answer
The soft limit is the actual limit imposed by the system. For example, the soft stack limit is the maximum stack size the system will allow a process to use.
…
Limit commands.
Answer
The soft limit is the actual limit imposed by the system. For example, the soft stack limit is the maximum stack size the system will allow a process to use.
…
Limit commands.
Operation | sh/ksh/bash command | csh/tcsh command |
|---|---|---|
Set stack size to 128 MB | ulimit -S -s 131072 | limit stacksize 128m |