title: In Lua, how to determine the size of an object?
body: <p>Is there a way, in Lua, to determine the (in memory) size of an object?</p>
  
  <p>I found an article on <a href="http://wow.gamepedia.com/Lua_object_memory_sizes" rel="nofollow">Gamepedia</a> about Lua object memory sizes, but it is not general and precise.</p>