Memory Allocation

lua-users home
wiki

Lua's memory management

Lua allows you the facility to add your own memory allocation management by replacing code in lmem.c. 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
FindPage · RecentChanges · preferences
edit · history
Last edited December 3, 2007 9:48 pm GMT (diff)