Get Memory Usage MB
PureGetMemoryUsageMBReturns current memory usage statistics in megabytes.
Type: Pure (no side effects)
Category: Fortuna|Debug & Development
Keywords: debug & development
Outputs
| Name | Type | Description |
|---|---|---|
| UsedPhysicalMB | float | UsedPhysicalMB output |
| AvailablePhysicalMB | float | AvailablePhysicalMB output |
| UsedVirtualMB | float | UsedVirtualMB 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.