[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: tracking Lua's memory usage
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 12 Jul 2007 13:19:08 -0300
> for some benchmarking purposes I patched the default allocator function
> in Lua to track the memory usage during the execution of a script.
I've posted something similar, but which also shows the total memory and
the pointers, which can be useful to track object lifetimes. (If the Lua
core sent a documentation string to the allocator, this could be nicer.)
See http://lua-users.org/lists/lua-l/2005-12/msg00078.html
--lhf