lua-users home
lua-l archive

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


it seems that collectgarbage("count") provides some useful info.

It would be even better if I could get the count for a specific module..

On Fri, Jul 16, 2010 at 10:20 AM, Valerio Schiavoni
<valerio.schiavoni@gmail.com> wrote:
> I'm on Linux/OSX/Windows
>
> On Fri, Jul 16, 2010 at 10:17 AM, Stephen Kellett
> <lua@objmedia.demon.co.uk> wrote:
>>
>>> i'd like to compare the memory requirements of a lua module against an
>>> older version.
>>> The stress test I'd like to do is such that I want to get the memory
>>> consumption along a timeline.
>>>
>>
>> If you are on Windows, Lua Memory Validator.
>> http://www.softwareverify.com/lua/memory/index.html
>>
>> Stephen
>> Disclaimer: I am involved with this tool I have recommended.
>>
>>
>