memdump
Dump statistics of previous memsample requests.
def memdump(
state: object,
samples: integer = 10
) - > string
Dump statistics of previous memsample requests.
Parameters
| Name | Type | Description |
|---|---|---|
| state | object | The current worker state or context object provided by the command inspector. |
| samples | integer = 10 | The number of memory samples to include in the generated report. |
Returns
| Type | Description |
|---|---|
string | A string containing the formatted memory statistics and allocation data captured from previous samples. |