getMaxUsedMemory static method
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:
- getUsedMemory - For current memory usage.
Implementation
static int getMaxUsedMemory() {
final OperationResult resultString = staticMethod(
'Debug',
'getMaxUsedMemory',
);
return resultString['result'];
}