Hi Dean, > > You're probably running out of stack space. 131001 * 4 is half a MB. >
thanks for a quick reply and explanation! Now, is this behavior correct (not a bug, it is a feature!), or should I file it as a bug report (when compared with SM, JSC, JScript...) ? O. > > On Fri, Jul 3, 2009 at 2:47 PM, ondras<[email protected]> wrote: > > > > Hi, > > > > I noticed that V8 has a significantly lower amount of arguments > > passable to function via .apply(). I found this value experimentally > > to be 131001. I tried looking into V8 sources and I found a failsafe > > limit at 0x800000 - much higher than my observations. > > > > There is also similar check in ia32/builtins-ia32.cc, but that not > > make much sense to me. > > > > So, > > > > 1) why is this limit lower than in other ECMA engines? > > 2) is this number constant, or does it depend on any other factors? > > 3) can this be somehow increased in further V8 releases? > > > > > > Thanks, > > Ondrej > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
