From: Eric Schwartz Date: 2003-11-17T10:25:41+09:00 Subject: Re: stack level too deep on ia64 ts writes: >>>>>> "E" == Eric Schwartz writes: > > E> I've tried setting the ulimit at 4194303 as suggested, but it still > E> fails. Suggestions of how to approach this are welcome. > > What is the value of STACK_LEVEL_MAX ? 49152 (see below) > See the macro CHECK_STACK in gc.c I suspect the interesting bit is actually in Init_stack(), where there is this section: #ifdef __ia64__ /* ruby crashes on IA64 if compiled with optimizer on */ /* when if STACK_LEVEL_MAX is greater than this magic number */ /* I know this is a kludge. I suspect optimizer bug */ #define IA64_MAGIC_STACK_LIMIT 49152 if (STACK_LEVEL_MAX > IA64_MAGIC_STACK_LIMIT) STACK_LEVEL_MAX = IA64_MAGIC_STACK_LIMIT; #endif -=Eric -- Come to think of it, there are already a million monkeys on a million typewriters, and Usenet is NOTHING like Shakespeare. -- Blair Houghton.