Skip to main content

memdump

Dump statistics of previous memsample requests.

def memdump(
state: object,
samples: integer = 10
) - > string

Dump statistics of previous memsample requests.

Parameters

NameTypeDescription
stateobjectThe current worker state or context object provided by the command inspector.
samplesinteger = 10The number of memory samples to include in the generated report.

Returns

TypeDescription
stringA string containing the formatted memory statistics and allocation data captured from previous samples.