lua-users home
lua-l archive

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


> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On Behalf Of liam mail

> Have you disabled the garbage collector somewhere else?
No

> Is the static getting set to another value?
No 

> Do you know there is a value for an invalid reference (actually two) LUA_NOREF and LUA_REFNIL?
Do you mean instead of using -1? Nope. I'll switch to using that.

>From the looks of it I do not see a leaking reference, if you leave the code running does the memory decrease or only increase?
Only increase but I'll try a longer test ( I only let it run for ~ 30 minutes )