[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: collectgarbage( "step" ) question
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 30 Sep 2005 09:15:25 -0300
> Or am I just reading this wrong and my problem is actually that I'm
> executing too big a step?
Probably. The purpose of "step" is to actually do some collection,
not to adjust the counter. And its "size" means nothing:
* LUA_GCSTEP-- performs an incremental step of garbage collection.
The step size is controlled by data (larger values mean more steps) in
a non-specified way. If you want to control the step size you must
tune experimentally the value of data.