Difference between revisions of "LlGetMemoryLimit"
Jump to navigation
Jump to search
m (Undo revision 1155189 by Digit Ditko (Talk) Why? This function doesn't have a link parameter.) |
m (The wording would be confusing to people who didn't know the function was a recent addition to LSL.) |
||
Line 10: | Line 10: | ||
;Mono:Gets the memory limit for the script. | ;Mono:Gets the memory limit for the script. | ||
* The memory limit can be up to 64k. | * The memory limit can be up to 64k. | ||
* | * The default memory limit is 64k{{Footnote|Prior to scripts being able to set their own limit, the limit was set to 64k}}. | ||
* The memory limit is not the amount of real memory actually used by the script, just the upper limit on how much it could use. | |||
* The memory limit is not the amount of real memory actually used by the script, just the upper limit on it. | |||
;LSO:LSO scripts will always use exactly 16k | ;LSO:LSO scripts will always use exactly 16k |
Revision as of 12:46, 22 July 2012
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: integer llGetMemoryLimit( );0.0 | Forced Delay |
??? | Energy |
Get the maximum memory a script can use.
Returns the integer amount of memory the script can use in bytes.
Specification
- Mono
- Gets the memory limit for the script.
- The memory limit can be up to 64k.
- The default memory limit is 64k[1].
- The memory limit is not the amount of real memory actually used by the script, just the upper limit on how much it could use.
- LSO
- LSO scripts will always use exactly 16k
Examples
See Also
Functions
• | llSetMemoryLimit | |||
• | llGetFreeMemory | |||
• | llGetUsedMemory | |||
• | llGetObjectDetails |