getUsedMemory static method

int getUsedMemory()

Returns the memory currently used by the SDK engine.

Useful for monitoring memory consumption and detecting potential memory leaks during development.

Returns

  • The memory used by the engine in bytes.

See also:

Implementation

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