getFreeMemory static method
Returns the free system memory including swap and kernel cache.
Returns
- The free system memory in bytes.
See also:
- getTotalMemory - For total system memory.
- getUsedMemory - For SDK memory usage.
Implementation
static int getFreeMemory() {
final OperationResult resultString = staticMethod('Debug', 'getFreeMemory');
return resultString['result'];
}