lua-users home
lua-l archive

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


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?

Sam