lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello!
 
I was just wondering if anyone has any tips on tracking memory usage in Lua? The only thing I've worked out so far is to use gcinfo() before and after specific function calls and looking at the difference, but that only gives the result in kilobytes, and is slightly fiddly. Are there better ways of doing this, or are there any tools out there that can help?
 
Thanks in advance,
 
    Jonathan