lua-users home
lua-l archive

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

> From: [] On Behalf Of liam mail

> Have you disabled the garbage collector somewhere else?

> Is the static getting set to another value?

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