Skip to main content

Module resource

Module resource 

Source

Structs§

RssPeakSampler
Background thread polls RSS while an export runs so peak_rss_mb reflects in-process highs, not only values at start/end (which often miss parallel workers’ allocations).

Functions§

check_memory
get_rss_mb
Returns the current process RSS in megabytes, or 0 if unavailable.