From: ES Date: 2005-03-19T02:07:47+09:00 Subject: Re: Maximum stack depth Glenn Parker wrote: > Robert Klemme wrote: > >> 09:49:48 [source]: uname -a >> CYGWIN_NT-5.0 bond 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown >> unknown >> Cygwin >> 09:51:46 [source]: ruby -v >> ruby 1.8.1 (2003-12-25) [i386-cygwin] >> 09:51:49 [source]: ulimit >> unlimited > > > For the simple test, my system stops at 1299 levels while yours goes all > the way to 13283. It is very interesting that you get literally ten > times the amount of stack space with the cygwin version of Ruby that I > get using the one-click installer version of Ruby. I think you may be able to use EDITBIN to change the stack size on 'native' Windows binaries. It's probably a part of VS or something, though. Or you could update to Win98 and edit CONFIG.SYS :) > $ uname -a > CYGWIN_NT-5.1 Zounds 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown > unknown Cygwin > > $ ruby -v > ruby 1.8.2 (2004-11-06) [i386-mswin32] > > $ ulimit -a > core file size (blocks, -c) unlimited > data seg size (kbytes, -d) unlimited > file size (blocks, -f) unlimited > open files (-n) 256 > pipe size (512 bytes, -p) 8 > stack size (kbytes, -s) 2043 > cpu time (seconds, -t) unlimited > max user processes (-u) 63 > virtual memory (kbytes, -v) 2097152 > > What does "ulimit -a" report in your environment? E