crepererum opened a new issue, #7848:
URL: https://github.com/apache/arrow-datafusion/issues/7848

   ### Describe the bug
   
   Using a hash join may lead to OOM kills / very large memory consumption even 
when a memory limit is set.
   
   ### To Reproduce
   
   No reproduction steps yet.
   
   We have a flame graph from a prod environment though:
   
   
![flame](https://github.com/apache/arrow-datafusion/assets/1529400/913b7f27-4f00-45e5-9e22-f96187ae0254)
   
   ### Expected behavior
   
   Memory manager report "out of memory", the query fails.
   
   ### Additional context
   
   I think the code only tracks `HashJoinStream::visited_left_side` but 
`build_equal_condition_join_indices` is completely untracked.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to