/ HALion Developer Resource / HALion Script / Reference /

getUsedMemory

getUsedMemory()

Description

Function to obtain the amount of memory that is used by the script.

Available in: Processor.

Return Values

Returns the number of bytes in the memory that are used by the script.

Example

-- Print the used memory in bytes.

function onNote(event)
    print(getUsedMemory())
end

See also: getAllocatedMemory