Skip to main content
Version: Next

MemoryInfo

Information about system memory.

Hierarchy

Index

Properties

current_size

current_size: Annotated[ ByteSize, PlainValidator(ByteSize.validate), PlainSerializer(lambda size: size.bytes), Field(alias='currentSize'), ]

Memory usage of the current Python process and its children.

This is a best-effort estimate - a process that cannot be inspected is left out of the sum, and the metric used may be RSS, which counts memory shared between the processes repeatedly. When only some of the processes expose PSS, the sum mixes both metrics, so the memory those processes share with the rest of the tree is counted twice.

model_config

model_config: Undefined

system_wide_used_size

system_wide_used_size: ByteSize

Total memory used within the scope total_size covers, including memory used by non-crawlee processes.

Under a container limit this is the memory charged against that limit.

total_size

total_size: ByteSize

Total memory available to this process.

Under a container limit this is the limit rather than the memory of the host machine.