lua-users home
lua-l archive

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


>    * 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