lua-users home
lua-l archive

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


2008/11/1 Max van Rooij (van Rooij Electronics Design & Software
Engineering) <mvrooij@vanrooij-edse.nl>:
> Thanks for the effort you took. Please comment out lines 83 to 86 in
> your Lua.c file and try again (those lines are the my patch to "fix" the
> problem). Use the Lua functions to print mem usage per iteration.

With the GCCOLLECT the memory stays at 26kiB for the number version
and at 231kiB for the userdata version. Without GCCOLLECT it
oscillates at respectively 29-47kiB and 234-253kiB (in sawtooth cycles
with progressive increase and sudden decrease). In any case I didn't
notice any stall.