Make all Lua memory functions optionally take VMA to use as base