westonpace commented on PR #40007:
URL: https://github.com/apache/arrow/pull/40007#issuecomment-1936686262

   Hmm, this temp stack is only (I think) used in the hash-join.  It's 
basically a stack allocator.  Allocations made on the allocator should be RAII 
guarded to release when they finish.  So either there is a bug and these are 
leaking somehow (I feel like this would be more reproducible) or maybe some of 
these stack variables are being help across a future boundary and that's 
causing some re-entrancy which causes the stack to run out of space (I like 
this explanation because it seems like it's environment specific and threading 
issues can often be environment statistic).  Or, maybe it's only caused by 
certain input data?
   
   Either way, this stack doesn't take up very much memory in the grand scheme 
of things.  I don't think there is much harm in increasing this value.


-- 
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