[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: The Lua interpreter and large scripts
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 12 Nov 2009 10:05:11 -0200
> I think luaX_newstring() in llex.c must be the culprit. You can
> try to add a GC check just before the 'return ts' at line 123:
> luaC_checkGC(L);
>
> If this solves the problem, then you've found a bug in Lua.
> Congratulations -- it doesn't happen that often. :-)
I guess this is a bug in Lua even if it does not solve this particular
problem. The idea of not calling the collector during a parse is that it
creates very little garbage. But the possibility of the collector being
held at a particular bad state is real.
-- Roberto
- References:
- Re: The Lua interpreter and large scripts, Sean Conner
- Re: The Lua interpreter and large scripts, Daniel Stephens
- Re: The Lua interpreter and large scripts, Sean Conner
- Re: The Lua interpreter and large scripts, Mike Pall
- Re: The Lua interpreter and large scripts, Luiz Henrique de Figueiredo
- Re: The Lua interpreter and large scripts, Mike Pall
- Re: The Lua interpreter and large scripts, Sean Conner
- Re: The Lua interpreter and large scripts, Mike Pall
- Re: The Lua interpreter and large scripts, Sean Conner
- Re: The Lua interpreter and large scripts, Mike Pall