You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Python][CI] test_table_uses_memory_pool flaky on macOS 14 job #50037
def test_table_uses_memory_pool():
N = 10000
arr = pa.array(np.arange(N, dtype=np.int64))
t = pa.table([arr, arr, arr], ['f0', 'f1', 'f2'])
prior_allocation = pa.total_allocated_bytes()
...
x = None # noqagc.collect()
> assert pa.total_allocated_bytes() == prior_allocation
E assert 1472 == 1664
...
Resembles #44728: prior_allocation captures before gc.collect(), so lingering allocations from earlier tests in the same xdist worker could be counted in the baseline but later freed by gc.collect() making final smaller than baseline.
Activity
GH-50037: [Python] test_table_uses_memory_pool flaky on macOS 14 job (#…
raulcd commentedon Jun 8, 2026
Issue resolved by pull request 50045
#50045