lua-users home
lua-l archive

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


May 11, 2017 2:02 PM, "Luiz Henrique de Figueiredo" <lhf@tecgraf.puc-rio.br> wrote:

>> The particular configuration I have encountered and reproduced this on is
>> Windows 8.1, 64-bit mode, but I think this is not Windows-specific.
> 
> It crashed Lua 5.3.4 in Mac OS X but in Linux it gave an error "not
> enough memory".


This is probably because on most distributions the Linux kernel is configured to overcommit memory by default.

Try to run `sudo sysctl vm.overcommit_memory=2` before trying to reproduce. I suspect it will fail with "not enough memory" as well.

-- 
Pierre Chapuis