MCPcopy Create free account
hub / github.com/apache/arrow / _get_use

Function _get_use

python/pyarrow/tests/util.py:148–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146 proc = psutil.Process()
147
148 def _get_use():
149 gc.collect()
150 return getattr(proc.memory_info(), metric)
151
152 baseline_use = _get_use()
153

Callers 2

memory_leak_checkFunction · 0.85
_leak_checkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected