Re: Boxed userdata and garbage collector
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Boxed userdata and garbage collector
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 2 Sep 2010 17:06:38 -0300
> * But, from the LUA point of view, we allocate only a pointer (ie 4
> or 8 bytes typically) : so the memory computed by the garbage
> collector is very low
Have you tried to call "collectgarbage('step', x)" (for some
reasonable 'x') each time you allocate a new picture?
-- Roberto