Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unlimited memory consumption in RepartitionExec #4816

Closed
Tracked by #587
crepererum opened this issue Jan 4, 2023 · 1 comment · Fixed by #4820
Closed
Tracked by #587

Unlimited memory consumption in RepartitionExec #4816

crepererum opened this issue Jan 4, 2023 · 1 comment · Fixed by #4820
Labels
bug Something isn't working

Comments

@crepererum
Copy link
Contributor

Describe the bug
See https://github.com/apache/arrow-datafusion/blob/5b70e3543f5c10832e43ed25e7d4166cf0c1df78/datafusion/core/src/physical_plan/repartition.rs#L333-L340

To Reproduce
-

Expected behavior
The data kept in these channels should be registered with the MemoryManager.

Additional context
-

@crepererum crepererum added the bug Something isn't working label Jan 4, 2023
@crepererum
Copy link
Contributor Author

I'm working on this.

crepererum added a commit to crepererum/arrow-datafusion that referenced this issue Jan 4, 2023
alamb pushed a commit that referenced this issue Jan 7, 2023
* refactor: explicit loop instead of (tail) recursion

* test: simplify

* fix: account for memory in `RepartitionExec`

Fixes #4816.

* fix: sorting memory limit test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant