lua-users home
lua-l archive

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


Title: RE: lua memory usage

Lua has a central place where it calls malloc, realloc and free.
You could track it programmatically here by wrapping these calls
in custom ones. The file is lmem.c.

Jim


> -----Original Message-----
> From: Denis Lamarche [mailto:brainwav@hotmail.com]
> Sent: Saturday, June 16, 2001 5:23 PM
> To: Multiple recipients of list
> Subject: lua memory usage
>
>
> Is there a way to find out how much memory lua is using while
> its executing
> script file?  I know how to get the size of the C stack, but
> what about the
> memory that lua keeps?
> ______________________________________________________________
> ___________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>