Commit bfc9cdb
authored
### Rationale for this change
Fixes #50037
### What changes are included in this PR?
Add `gc.collect()` before `prior_allocation = pa.total_allocated_bytes()` in `test_table_uses_memory_pool`
and also add to `_check_to_pandas_memory_unchanged` helper with the same pattern.
Same fix as #44793
### Are these changes tested?
Not reproduced locally yet.
### Are there any user-facing changes?
No.
* GitHub Issue: #50037
Authored-by: Tadeja Kadunc <tadeja.kadunc@gmail.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
1 parent 222bfb7 commit bfc9cdb
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3901 | 3901 | | |
3902 | 3902 | | |
3903 | 3903 | | |
| 3904 | + | |
3904 | 3905 | | |
3905 | 3906 | | |
3906 | 3907 | | |
| |||
3966 | 3967 | | |
3967 | 3968 | | |
3968 | 3969 | | |
| 3970 | + | |
3969 | 3971 | | |
3970 | 3972 | | |
3971 | 3973 | | |
| |||
0 commit comments