Memory Allocation

lua-users home
wiki

Lua's memory management

Lua allows you the facility to add your own memory allocation management by calling [lua_setallocf]. You may want to replace the standard allocation routines in order to keep Lua's allocation separate or introduce an allocator which may cause less fragmentation.

Memory allocators

Here are some memory allocation libraries.


See also: GarbageCollection, GarbageCollectingWeakTables
RecentChanges · preferences
edit · history
Last edited July 4, 2008 9:44 pm GMT (diff)