lua-users home
lua-l archive

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


I think what you're shooting for is setting the gc threshold to 0. That
should force a garbage collection cycle.

> > Ah so if I force the garbage collector to run the memory problems
> > should go away ? I'll look into that right now.
>
> I tried this:
>
> lua_setgcthreshold (L, lua_getgcthreshold (L));
>
> to force the Garbage collector but still the memory footprint grows
> dramatically. Is this the correct way to trigger the Garbage collector
> ?
> Anything else I can do to find out what is going on here ?
>
> Ron
>