Is there a (simple) way to get the memory usage of a lua table?

Posted by mutley on Stack Overflow See other posts from Stack Overflow or by mutley
Published on 2010-03-17T11:54:44Z Indexed on 2010/03/17 13:01 UTC
Read the original article Hit count: 123

Filed under:
|
|

I'd like to find out how much memory a lua table is using - without iterating through the table contents and counting up the usage. Is there a lua 5.1 function or 3rd party library that could help with this.

Thanks!

© Stack Overflow or respective owner

Related posts about lua

Related posts about table