Subj : Re: SpiderMonkey (1.5 pr 6a) Stack Overflow To : netscape.public.mozilla.jseng From : Rob Swindell Date : Thu Apr 14 2005 01:21 am "Brendan Eich" wrote in message news:425DEF0B.5040904@meer.net... > Rob Swindell wrote: > > I have a script (an IRC server, so it's rather large and complex) which > > occassionally causes a stack overflow condition in the JS engine (on both > > Win32 and *nix platforms). > > Do you call JS_SetThreadStackLimit? I didn't know of it. > Is that API even in RC6a? It appears to be. > If not, then you can get unlucky on some OSes and hit a stack VM limit > that crashes the process. I'll give JS_SetThreadStackLimit() a try. Thanks again, -Rob .