lua-users home
lua-l archive

Re: lua_getgccount

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


> 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

AltStyle によって変換されたページ (->オリジナル) /