gruuya commented on issue #9417: URL: https://github.com/apache/arrow-datafusion/issues/9417#issuecomment-1975068562
> The issue is caused by "double" memory accounting for sliced batches in AggExec and TopkExec. I thought something similar, namely that TopKExec makes some errors in memory accounting but then observing the actual memory usage seems to indicate that the peak is real. - just prior to executing the ClickBench query <img width="212" alt="image" src="https://github.com/apache/arrow-datafusion/assets/45558892/80ef67fb-9cf2-4a57-9349-6786a94670f8"> - peak memory, prior to `DataFusionError::ResourcesExhausted` error getting thrown <img width="210" alt="image" src="https://github.com/apache/arrow-datafusion/assets/45558892/cae0777a-f5de-4a3a-99d0-ec4dbc6a6356"> -- 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]
