AppStatus.getMemoryUsage

Calculate the current memory usage of this program using the GC stats

class AppStatus
bool
getMemoryUsage
(
out float mem_allocated
,
out float mem_free
)

Parameters

mem_allocated float

the amount of memory currently allocated

mem_free float

the amount of allocated memory that is currently free

Return Value

Type: bool

true if the memory usage was properly gathered, false if is not available.

Meta