Skip to content

llGetFreeMemory

function ll.GetFreeMemory(): number

Returns the number of free bytes of memory the script can use.

Returns the available free space for the current script. This is inaccurate with LSO.

Add example usage here showing SLua/Luau syntax with ll.GetFreeMemory().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.