On 20 Sep 2007, at 00:47, Daniel Sheppard wrote:

>
> The following will show how deep your ruby stack can go:
>
> ruby -e '$x=0;def r;$x+=1;r;end;r rescue puts $x';

That command doesn't work for me
>
> My system can go 5050 levels.
>
> Ruby relies on the system limit on the C stack to limit
> its own stack. ulimit -s will show your current stack
> limit. My system has a limit of 8192.

i set ulimit -s 8192 and it runs fine now. Thanks i've been banging  
my head for days over this one.

Mark Kirby

_______________________________________________
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to