getUsedMemory static method
Return memory used by the engine.
Returns
- The used memory in bytes.
Throws
- An exception if it fails.
Implementation
static int getUsedMemory() {
final OperationResult resultString = staticMethod('Debug', 'getUsedMemory');
return resultString['result'];
}