DerGut commented on issue #15675: URL: https://github.com/apache/datafusion/issues/15675#issuecomment-2795271167
I just noticed that for even lower settings of `--memory-limit`, I get a different error e.g. ``` Error: Resources exhausted: Failed to allocate additional 10485760 bytes for ExternalSorterMerge[0] with 0 bytes already allocated for this reservation - 9437184 bytes remain available for the total pool ``` with `-m=9m`. My current suspicion is that the hard-coded https://github.com/apache/datafusion/blob/5ab5a03724b3afa009ba480a022145875972d08c/datafusion/common/src/config.rs#L341 clashes with memory limits configured to the same value in some way which then breaks assumptions in the sort code. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org