Re: Projects I may be willing to sponsor

  • From: "Yichun Zhang (agentzh)" <agentzh@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 10 Dec 2014 14:58:55 -0800

Hello!

On Wed, Dec 10, 2014 at 9:33 AM, Joe Ellsworth wrote:
> function gc_check_collect_if_needed(max_mem_meg)
>   if max_mem = nil
>     max_mem = 1200
>   end
>   local meg_used = collectgarbage("count")  / 1024
>   if meg_used > 1500 then
>      local beg_time = curr_sec()
>      collectgarbage()

My colleague Shuxin Yang has been working on a patch that can make
LuaJIT use the full 2GB memory space on Linux x86_64 (and possibly a
few other x86_64 operating systems). We're still polishing things up.
Most of the developement happens here:

    https://github.com/cloudflare/luajit-mm

Already usable to some extend.

Eventually we can further make use of the full 4GB memory once we (or
Mike Pall) remove the pointer sign extension limitation from LuaJIT.
But now 2GB is already much better than 1GB already and is a good
start ;)

Regards,
-agentzh

Other related posts: