Quote> Which one of the above method should I use to get the amount of memory > used by the Lua VM?collectgarbage( "count" ). gcinfo is still there only for compatibility.