Memory Monitoring Performance¶
This page has been retired as an active guide. Memory monitoring guidance is now consolidated in a single place to avoid competing instructions.
Where to go instead¶
For practical memory tuning - choosing limits, chunked processing, and the streaming merge controls on the PyArrow backend - see Memory-Constrained Environments.
For the reference surface, see:
- Adaptive Key Tracking - the
MemoryMonitorandMemoryPressureLevelcontract, plus tiered key tracking. - Dataset Handlers - the streaming merge parameters
(
merge_max_memory_mb,merge_max_process_memory_mb,merge_min_system_available_mb) and which backend honors them. - Generated API: fsspeckit.datasets.pyarrow -
exact signatures for
MemoryMonitor.
The short version¶
MemoryMonitor (requires the monitoring extra, which datasets already
includes) reports PyArrow allocation, process RSS, and system availability, and
maps them to a MemoryPressureLevel. Configure the three limits once and call
check_memory_pressure() between chunks. The full configuration walkthrough
lives on the consolidated page above.