lua-users home
lua-l archive

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

> If it were to come to the point where all of the
> memory in its pool has been allocated to Lua, and it is called to
> allocate a new piece of memory, can it invoke a GC collection to try
> and free up some of its pool, or will causing a GC collection from
> within the allocator cause all sorts of trouble?

Lua 5.2 will have this feature. As it stands, Lua 5.1 does not really
support this. See