rudimentary implementation luajit mem-managment for taking full advantage of lower 2G memory