[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Table Garbage Collection
- From: Sam Roberts <sroberts@...>
- Date: Wed, 22 Nov 2006 17:18:42 -0800
On Wed, Nov 22, 2006 at 02:33:34PM -0800, Nick Nugent wrote:
> >What happens may be very different if the memory was allocated via
> >mmap(), however.
Fwiw, its easy to replace the allocator used by lua, so if you found an
allocator that used mmap, and was better at returning memory for the
usage profile of a GCing interpreter like lua, that could be used.
On the other hand, maybe it doesn't matter that the heap is large, the
pages will get swapped out, and if you never touch them, who cares?