llGetSPMaxMemory
function ll.GetSPMaxMemory(): numberReturns the maximum used memory for the current script. Only valid after using PROFILE_SCRIPT_MEMORY. Non-mono scripts always use 16k.
Returns the integer of the most bytes used while llScriptProfiler was last active.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.GetSPMaxMemory().
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: llGetSPMaxMemory