getMaxUsedMemory static method

int getMaxUsedMemory()

Returns the maximum memory used by the SDK engine since initialization.

Useful for profiling and identifying peak memory consumption during testing.

Returns

  • The maximum memory used by the engine in bytes.

See also:

Implementation

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