2010YOUY01 opened a new issue, #15939: URL: https://github.com/apache/datafusion/issues/15939
### Describe the bug When running several memory consuming queries in datafusion-cli, the system memory won't be released after the query ends, the memory usage from different queries are accumulated, until `datafusion-cli` is exited. ### To Reproduce 1. Compile and run datafusion-cli (commit 8c42a65a4) 2. I'm using MacOS's `Application Monitor` GUI to check memory usage of `datafusion-cli` process 3. Execute several memory-intensive queries, and memory usage accumulates over time. ``` select * from generate_series(1,100000000) as t1(v1) order by v1; -- datafusion-cli process: 1.5G memory select * from generate_series(1,200000000) as t1(v1) order by v1; -- datafusion-cli process: 3.2G memory select 1; -- Still 3.2G ``` ### Expected behavior _No response_ ### Additional context _No response_ -- 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.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