lua-users home
lua-l archive

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

>> But, as I said before, the 1Gb memory is shared between all of
>> the LuaJIT threads within the process.
> Yes, sadly that's true on Linux/x64 right now. With some effort I
> could bump that up to around 2GB (avoiding MAP_32BIT and resorting
> to address probing). But that won't suffice for your use case.

I suppose that this 1Gb limit is sufficient in LuaJIT only because of the built-in allocator since vanilla Lua doesn't suffer from that.
Is it somehow possible to make 64-bit LuaJIT use the standard allocator to temporarily avoid the problem? Is it worth it?

// Seny