lua-users home
lua-l archive

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


> I have an event based system where each call into Lua is done by creating a
> new coroutine. The problem is that the variable nCcalls in the global state
> slowly but steadily keeps increasing until it reaches the maximum of 200.
> This happens in a production environment and I am unable to recreate the
> problem in my lab. Do you have any idea what could cause nCcalls to increase
> i.e. be unbalanced?
> 
> I am using the latest Lua 5.2

Are you sure you are not resuming each new coroutine from inside an
older one?

-- Roberto