MCPcopy Create free account
hub / github.com/apify/crawlee-python / _get_used_memory

Function _get_used_memory

src/crawlee/_utils/system.py:28–29  ·  view source on GitHub ↗
(process: psutil.Process)

Source from the content-addressed store, hash-verified

26 """
27
28 def _get_used_memory(process: psutil.Process) -> int:
29 return int(process.memory_full_info().pss)
30else:
31
32 def _get_used_memory(process: psutil.Process) -> int:

Callers 1

get_memory_infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected