getFreeMemory static method

int getFreeMemory()

Return system free memory (this will include swap and kernel cache memory)

Returns

  • The free memory in bytes.

Implementation

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