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

With the 'actual' lua (5.1) you can track malloc calls, see new function
lua_newstate() where you can give an own malloc function.

HTH,
  Torsten