MCPcopy
hub / github.com/celery/celery / mem_rss

Function mem_rss

celery/utils/debug.py:138–142  ·  view source on GitHub ↗

Return RSS memory usage as a humanized string.

()

Source from the content-addressed store, hash-verified

136
137
138def mem_rss():
139 """Return RSS memory usage as a humanized string."""
140 p = ps()
141 if p is not None:
142 return humanbytes(_process_memory_info(p).rss)
143
144
145def ps(): # pragma: no cover

Callers 3

test_sample_memFunction · 0.85
sample_memFunction · 0.85
_memdumpFunction · 0.85

Calls 3

psFunction · 0.85
humanbytesFunction · 0.85
_process_memory_infoFunction · 0.85

Tested by 1

test_sample_memFunction · 0.68