Changing the Stack Size Temporarily

You can change the stack size for the current session at the command line. To do this, type a command like the following at a command prompt:

   ulimit -s 256

The above command sets the stack size to 256 KB for the current session only.