[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: nCcalls in the global state keeps increasing in 5.2
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 2 Aug 2011 12:45:34 -0300
> 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