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 by all processes system-wide (including non-crawlee processes).

total_size

total_size: ByteSize

Total memory available in the system.