Difference between revisions of "LlSetMemoryLimit"

From Second Life Wiki
Jump to: navigation, search
(Created page with "<!-- {{LSL Generic/RC|RC Magnum}} --> {{LSL_Function |mode=pre-release |func_id=???|func_sleep=0.0|func_energy=??? |func=llSetMemoryLimit |return_type=integer |fu…")
 
Line 4: Line 4:
 
|func_id=???|func_sleep=0.0|func_energy=???
 
|func_id=???|func_sleep=0.0|func_energy=???
 
|func=llSetMemoryLimit
 
|func=llSetMemoryLimit
 +
|p1_type=integer|p1_name=limit
 
|return_type=integer
 
|return_type=integer
 
|func_desc=
 
|func_desc=

Revision as of 00:59, 3 August 2011

Emblem-important-red.png Pre-release Documentation Warning!

This function is not available yet. This documentation was written prior to its final release so it may not match the final implementation.

Summary

Function: integer llSetMemoryLimit( integer limit );

Returns the integer of the new maximum bytes the script can use. That's a guess, verify this!

• integer limit

Specification

This function's behavior is dependent upon the VM the script is using. Mono is the new VM, LSO is the old VM.

Mono
At present, a maximum of 65536 bytes can be reserved. 65536 is also the default.
LSO
Always returns 16384, the fixed LSO memory size.

Examples

See Also

Functions

•  llGetFreeMemory
•  llGetUsedMemory
•  llGetObjectDetails

Deep Notes

History

  • Scheduled for RC Magnum channel, week of August 3, 2011.

Search JIRA for related Issues

Signature

function integer llSetMemoryLimit( integer limit );