# HeapSummary

`import { HeapSummary } from "destack:runtime";`

Heap summary for one worker.

```ds title="HeapSummary"
export struct HeapSummary {
    heapBytes: uint64;
    pageCount: uint32;
    gcCycles: uint64;
}
```

[language/library/src/runtime/heap.ds:8:15](https://github.com/destack-sh/destack/blob/main/language/library/src/runtime/heap.ds#L8-L15)

## Members

### `heapBytes: uint64`

Total heap bytes.

### `pageCount: uint32`

Total captured page count.

### `gcCycles: uint64`

Completed GC cycle count.
