getHeapUsage

suspend fun getHeapUsage(mode: CommandMode = CommandMode.DEFAULT): Runtime.GetHeapUsageReturn

Returns the JavaScript heap usage. It is the total usage of the corresponding isolate not scoped to a particular Runtime.