[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (rc2) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sat, 26 Nov 2011 12:32:02 -0200
> > After some minutes tests fail out of memory in "constructs.lua" six
> > lines after "testing short-circuit optimizations"
>
> It is possible that 'constructs.lua' needs more than 23MB to run. It
> builds all combinations of some basic constructs; that may be quite
> expensive.
Can you try the following fix in 'constructs.lua'?
301c301,304
< for _, v in pairs(allcases(4)) do
---
> -- do not do too many combinations for soft tests
> local level = _soft and 3 or 4
>
> for _, v in pairs(allcases(level)) do
-- Roberto