title: Is there a limit of stack size of a process in linux
body: <p>Is there a limit on the stack size of a process in Linux? Is it simply dependent on the RAM of the machine?</p>
  <p>I want to know this in order to limit the depth of recursive calls to a function.</p>