[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT strange memory limit
- From: Arseny Vakhrushev <arseny.vakhrushev@...>
- Date: Thu, 11 Nov 2010 19:23:33 +0300
>> 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