[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_getgccount
- From: roberto@... (Roberto Ierusalimschy)
- Date: Sun, 23 Apr 2006 19:32:13 -0300
> The doc for lua 5.0.2 says that lua_getgccount returns the memory in use by
> Lua. Is this _all_ memory in use by Lua? Does it include the VM, all
> tables, all functions, all functions registered, etc, etc.?
Yes. The count is kept at the lowest level of memory allocation
(+ mallocs - frees +/- reallocs).
-- Roberto