Difference between revisions of "LlGetMemoryLimit"

From Second Life Wiki
Jump to navigation Jump to search
(Creating this page because it does not exist)
 
m (typo)
Line 32: Line 32:
|cat3=Script Profiler
|cat3=Script Profiler
|cat4
|cat4
}}
}}
}}

Revision as of 18:10, 19 August 2011

Summary

Function: integer llGetMemoryLimit( );

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.
  • All new scripts start with a limit of 64k
  • All existing scripts have a limit of 64k
  • 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

Examples

See Also

Deep Notes

History

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

Search JIRA for related Issues

Signature

function integer llGetMemoryLimit();