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

Function action

python/pyarrow/tests/test_adhoc_memory_leak.py:40–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 'b': [test_util.rands(5) for _ in range(10000)]})
39
40 def action():
41 df_bytes = pa.ipc.serialize_pandas(df).to_pybytes()
42 buf = pa.py_buffer(df_bytes)
43 pa.ipc.deserialize_pandas(buf)
44
45 # Abort at 128MB threshold
46 test_util.memory_leak_check(action, threshold=1 << 27, iterations=100)

Callers 3

ApplyBinaryChunkedFunction · 0.85
DoInBatchesNonRepeatedFunction · 0.85
DoInBatchesRepeatedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected