Re: LuaJIT - Cannot create state: not enough memory

  • From: Mike Pall <mike-1502@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 25 Feb 2015 10:20:33 +0100

Daniel Ayoub wrote:
> I successfully ported LuaJIT 2.0.3 to the Octeon III CN7xxx platform. This
> is a MIPS64 architecture w/FPU. It compiled OK with a little effort however
> my issue however is with running LuaJIT. The OS is linux (openwrt).

Umm, a MIPS64 port involves substantial changes to the assembler
code of the interpreter and the backend of the JIT compiler. If
you've done that 'with a little effort', then congratulations!

> The error I'm receiving is as follows...
> 
> luajit: cannot create state: not enough memory
> luajit-2.0.3: cannot create state: not enough memory

But then ... you didn't notice the memory layout constraints
during the port?

--Mike

Other related posts: