< Timers and Function callbacks | UserGuide | GUI >


Garbage Collection

Lua is a garbage collected (gc) programming language. This means, that any data that is no longer referred is marked as free. This means that you don't need to worry about memory in most cases.

A few core commands may prevent garbage collection of Lua variables as well. For example l3dview:rcmdadd will prevent gc of active rcmds afterwards. The description text in the Luxinia API will hint towards such functions.