Skip to content

GH-50037: [Python][CI] test_table_uses_memory_pool flaky on macOS 14 job#50045

Draft
tadeja wants to merge 2 commits into
apache:mainfrom
tadeja:50037-gc.collect
Draft

GH-50037: [Python][CI] test_table_uses_memory_pool flaky on macOS 14 job#50045
tadeja wants to merge 2 commits into
apache:mainfrom
tadeja:50037-gc.collect

Conversation

@tadeja
Copy link
Copy Markdown
Collaborator

@tadeja tadeja commented May 26, 2026

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-actions
Copy link
Copy Markdown

⚠️ GitHub issue #50037 has been automatically assigned in GitHub to PR creator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Python][CI] test_table_uses_memory_pool flaky on macOS 14 job

1 participant