llGetUsedMemory
function ll.GetUsedMemory(): numberReturns the current used memory for the current script. Non-mono scripts always use 16K.
Returns the integer of the number of bytes of memory currently in use by the script. Non-mono scripts always use 16K.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.GetUsedMemory().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llGetUsedMemory