lua-users home
lua-l archive

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

> > 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'?

< 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