/ HALion Developer Resource / HALion Script / Reference /

getAllocatedMemory

getAllocatedMemory()

Description

Function to obtain the number of bytes which have been allocated to the script in the memory.

Available in: Processor.

Return Values

Returns the number of bytes which have been allocated to the script in the memory.

Example

-- Print the number of bytes which have been allocated to the script in the memory.

function onNote(event)
    print(getAllocatedMemory())
end

See also: getUsedMemory