How do I find the maximum stack size?

Posted on Jul 7, 2023

Question

I am working on Ubuntu 11.04. How do I find out the maximum call stack size of a process and also the size of each frame of the stack?

Answer

A quick Google search should reveal some information on this subject.

> ulimit -a         # shows the current stack size