comphead commented on code in PR #684: URL: https://github.com/apache/datafusion-comet/pull/684#discussion_r1683599214
########## docs/source/user-guide/tuning.md: ########## @@ -21,6 +21,17 @@ under the License. Comet provides some tuning options to help you get the best performance from your queries. +## Memory Tuning + +Comet currently doesn't share the memory allocation from Spark but owns its own memory allocation. +That's said, Comet requires additional memory to be allocated. Comet provides some memory related configurations to help you tune the memory usage. + +By default, the amount of memory is `spark.comet.memory.overhead.factor` * `spark.executor.memory`. Review Comment: I think we need to specify the precedence as well. What if both `spark.comet.memory.overhead.factor` and `spark.comet.memoryOverhead` are set ? -- 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