GetHeapUsageResponse

@Serializable
data class GetHeapUsageResponse(val usedSize: Double, val totalSize: Double, val embedderHeapUsedSize: Double? = null, val backingStorageSize: Double? = null)

Response type for the RuntimeDomain.getHeapUsage command.

Constructors

Link copied to clipboard
constructor(usedSize: Double, totalSize: Double, embedderHeapUsedSize: Double? = null, backingStorageSize: Double? = null)

Properties

Link copied to clipboard

Size in bytes of backing storage for array buffers and external strings.

Link copied to clipboard

Used size in bytes in the embedder's garbage-collected heap.

Link copied to clipboard

Allocated JavaScript heap size in bytes.

Link copied to clipboard

Used JavaScript heap size in bytes.