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.
> -----Original Message-----
> From: Denis Lamarche [mailto:email@example.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