[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Redefining functions
- From: "Terence Martin" <odat@...>
- Date: Sat, 28 Sep 2002 13:29:47 -0700
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 ?