Get Memory Usage MB

Pure
GetMemoryUsageMB

Returns current memory usage statistics in megabytes.

Type: Pure (no side effects)
Category: Fortuna|Debug & Development
Keywords: debug & development

Outputs

NameTypeDescription
UsedPhysicalMBfloatUsedPhysicalMB output
AvailablePhysicalMBfloatAvailablePhysicalMB output
UsedVirtualMBfloatUsedVirtualMB output

Example Use Cases

Example 1

Display memory usage in a debug HUD.

Example 2

Log memory before/after loading a level to detect leaks.