lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> TCC compiler:
> 
> -DLUAI_MAXCSTACK=454 is the maximum I could have it complete all tests!
> -DLUAI_MAXCSTACK=455 and above crashes.
> 
> Microsoft compiler (VS2013):
> 
> -DLUAI_MAXCSTACK=413 is the maximum I could have it complete all tests!
> -DLUAI_MAXCSTACK=414 and above crashes.
> 
> Tested on a Win7-64 machine with 6GB RAM (in case it matters).
> 
> Both cases the values are far below the luaconf.h default of 2200

Many thanks. This seems a remarkably small C stack for such a machine.
Are you compiling Lua in debug mode or release mode?

-- Roberto