lua-users home
lua-l archive

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

Steve Dekorte wrote:
> The lua gc has a memory limit that you can set with the collectgarbage() function.  
> When it reaches it, it does a gc run. You might try setting this to be at the amount  
> of memory that you find acceptable for your program to take.  

Ops, I forgot to read the beginning of this thread. You already know this and need 
a way to tell Lua  how much memory it's using on your userdata so this works right.