ll.GetUsedMemory

ll.GetUsedMemory() : number

Returns the current used memory for the current script. Non-mono scripts always use 16K. Returns the integer of the number of bytes of memory currently in use by the script. Non-mono scripts always use 16K.

Example

ll.GetUsedMemory()
{
  "def": "func",
  "desc": "Returns the current used memory for the current script. Non-mono scripts always use 16K.\nReturns the integer of the number of bytes of memory currently in use by the script. Non-mono scripts always use 16K.",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlGetUsedMemory",
  "name": "GetUsedMemory",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "number"
          ],
          "optional": false
        }
      ],
      "args": []
    }
  ]
}

< Back to ll