[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: newbie questions
- From: Max Ischenko <max@...>
- Date: Tue, 12 Dec 2000 15:20:39 +0200
Hi there, Luiz Henrique de Figueiredo!
On Tuesday, 12 of December you wrote:
> >1. Is there profiling tool to check Lua memory footprint?
>
> No tool, except "ps" in Unix.
> But you can try recompiling lmem.c with LUA_DEBUG defined and then print
>
> memdebug_numblocks
> memdebug_total
> memdebug_maxmem
> memdebug_memlimit
Tnx, it works.
More precisely, after compiling with LUA_DEBUG
T.totalmem() and such available to Lua.
--
Best regards, Maxim F. Ischenko.