Page tree
Skip to end of metadata
Go to start of metadata

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

1 Comment