getFreeMemory static method

int getFreeMemory()

Returns the free system memory including swap and kernel cache.

Returns

  • The free system memory in bytes.

See also:

Implementation

static int getFreeMemory() {
  final OperationResult resultString = staticMethod('Debug', 'getFreeMemory');
  return resultString['result'];
}