[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: User setting of GC Threshold
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 26 Feb 2003 08:58:35 -0300
> Good points. On the relating note I would like to assert again that
> line 443 in ldo.c saying
>
> G(L)->GCthreshold += (G(L)->nblocks - old_blocks);
>
> will lead to eventual consumption of ALL available computer memory
> under the right conditions regardless of the platform.
This is one of the nine known bugs of Lua 4.0. I think it is corrected
in 4.0.1. (The line is still there, but not the bug.)
-- Roberto