fun getHeapUsage(): Single<GetHeapUsageResponse>
Returns the JavaScript heap usage. It is the total usage of the corresponding isolate not scoped to a particular Runtime.
Link Protocol Runtime#getHeapUsage method documentation.