lua-users home
lua-l archive

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


Hi,

skaller wrote:
> void luaC_step (lua_State *L) {
> [...]
> however a grep on the source reveals this function and
> indeed luaC_fullgc are never called except in lua_gc.

No, this is not the problem. You missed the define in lgc.h:

#define luaC_checkGC(L) { if (G(L)->totalbytes >= G(L)->GCthreshold) \
  luaC_step(L); }

$ cat *.c | grep -c luaC_checkGC 
15

Bye,
     Mike