# Maximum stack depth Ackermann redux

**URL:** <https://www.ruby-forum.com/t/maximum-stack-depth-ackermann-redux/49172>\
**Category:** Ruby\
**Created:** [November 30, 2005, 10:31pm UTC](https://www.ruby-forum.com/t/maximum-stack-depth-ackermann-redux/49172 "2005-11-30T22:31:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![igouy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@igouy](https://www.ruby-forum.com/u/igouy)\
**Post date:** [November 30, 2005, 10:31pm UTC](https://www.ruby-forum.com/t/maximum-stack-depth-ackermann-redux/49172/1 "2005-11-30T22:31:20Z")

</div>

Glenn Parker wrote:

> Yukihiro M. wrote:
> 
> > Ruby uses C stack, so that you need to use ulimit to specify a limit  
> > on stack depth.
> 
> Thank you for the tip, but I’m afraid ulimit is not an option under  
> WinXP, and I have no idea what the corresponding tweak would be.
> 
> I will suggest to the Shootout folks that they try boosting the stack  
> size with ulimit for the Ackerman test.

[http://shootout.alioth.debian.org/gp4/benchmark.php?test=ackermann&lang=all](http://shootout.alioth.debian.org/gp4/benchmark.php?test=ackermann&lang=all)
