llSetMemoryLimit
function ll.SetMemoryLimit(Limit: number): numberRequests Limit bytes to be reserved for this script.
Returns TRUE or FALSE indicating whether the limit was set successfully.
This function has no effect if the script is running in the LSO VM.
Parameters
-
Limit(number) - The amount to reserve, which must be less than the allowed maximum (currently 64KB) and not already have been exceeded.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.SetMemoryLimit().
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: llSetMemoryLimit