xLua icon indicating copy to clipboard operation
xLua copied to clipboard

i9 cpu 的电脑下, 运行xlua 即报not enough memory

Open JO2Game opened this issue 5 years ago • 5 comments

i9 cpu 的电脑下, 运行xlua 即报not enough memory的错误 在bios禁用多个核后, xlua运行正常.

已尝试加入THREAD_SAFE宏, 但一样报错

JO2Game avatar Jan 27 '21 09:01 JO2Game

在不运行的情况下, 只执行XLua->Generate Code, 会报:[string "chunk"]: 1 : loop or previous error loading module 'TemplateCommon'的错误信息

JO2Game avatar Jan 27 '21 09:01 JO2Game

你用的是luajit版本吧?

chexiongsheng avatar Jan 27 '21 09:01 chexiongsheng

luajit版本的话,用这个:https://github.com/Tencent/xLua/blob/master/build/make_win64_luajit_gc64.bat编译个window版本,覆盖相应文件

chexiongsheng avatar Jan 27 '21 09:01 chexiongsheng

版本用的是2.1.14 非luajit

JO2Game avatar Jan 27 '21 09:01 JO2Game

那不太清楚,没人反馈过这样的问题,我这也不会出现

chexiongsheng avatar Jan 28 '21 08:01 chexiongsheng