3 ms·
Try building (the `v2.1` branch of) LuaJIT with `CFLAGS=-DLUAJIT_ENABLE_GC64`. This flag is a relatively recent addition [1], and didn't have JIT support on x64
by corsix 10y ago
Try building (the `v2.1` branch of) LuaJIT with `CFLAGS=-DLUAJIT_ENABLE_GC64`. This flag is a relatively recent addition [1], and didn't have JIT support on x64 until really very recently [2], but it should free you from the 4gb limitation.
[1] https://github.com/LuaJIT/LuaJIT/commit/a92e73023353e59405ebfdb2837b5742d17946a5 https://github.com/LuaJIT/LuaJIT/commit/a92e73023353e59405eb...
[2] https://github.com/LuaJIT/LuaJIT/commit/2868715d80b6ac497a7f08393ec325b60d71df8d https://github.com/LuaJIT/LuaJIT/commit/2868715d80b6ac497a7f...
- chanks 10y agoLooking at your PR for it (https://github.com/LuaJIT/LuaJIT/pull/149 https://github.com/LuaJIT/LuaJIT/pull/149) it sounds as if there are a few issues remaining, but I'm not enough of an expert to know how problematic they are in practice. Do you think that this feature is stable enough for production use?