For the purposes of estimating the maximum call depth a recursive method may achieve with a given amount of memory, what is the (approximate) formula for calculating the mem
depends on your system-architecture (32 or 64 bit addresses), the amount of local variables and parameters of the method.
If it is tail-recursive no overhead, if the compiler optimize it to a loop.