getTotalMemory static method

int getTotalMemory()

Return system total memory

Returns

  • The total memory in bytes.

Throws

  • An exception if it fails.

Implementation

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