[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Garbage collector issues
- From: Steve Dekorte <steve@...>
- Date: Tue, 19 Dec 2000 18:09:08 -0800
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.