|
On 01/02/2011 19:49, Mike Pall wrote:
Your code is broken if it relies on any particular GC behavior.
There's an example of code [1] where GC in Lua 5.1 on Windows was not able to prevent constant growth of memory consumption. BTW, LuaJIT 2.0 beta 5 also behaves that way.
[1] http://lua-users.org/lists/lua-l/2008-04/msg00007.html -- Shmuel