memsample
Sample current RSS memory usage.
def memsample(
state: any,
**kwargs: dict
) - > float
Sample current RSS memory usage.
Parameters
| Name | Type | Description |
|---|---|---|
| state | any | The current execution state or context of the worker process |
| **kwargs | dict | Additional keyword arguments passed to the command inspector |
Returns
| Type | Description |
|---|---|
float | The current Resident Set Size (RSS) memory usage in megabytes |