LlGetSPMaxMemory

From Second Life Wiki
Revision as of 17:11, 17 April 2011 by Cerise Sorbet (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Summary

Function: integer LlGetSPMaxMemory( );

Returns the integer of the most bytes used while LlScriptProfiler was last active.

Specification

This function's behavior is dependent upon the VM the script is using. Mono is the new VM, LSO is the old VM. The big difference between between Mono and LSO is that Mono scripts run faster and can utilize four times more memory.

Mono

During and after a LlScriptProfiler profiling run, llGetSPMaxMemory will return the most memory used at any one time.

LSO

This function has no effect for scripts not compiled to Mono.

Caveats

  • The number of free bytes the Heap can use may be greater but not less.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

•  llGetFreeMemory
•  llGetUsedMemory

Deep Notes

Search JIRA for related Issues

Signature

function integer LlGetSPMaxMemory();