wuyi created SPARK-34089: ---------------------------- Summary: MemoryConsumer's memory mode should respect MemoryManager's memory mode Key: SPARK-34089 URL: https://issues.apache.org/jira/browse/SPARK-34089 Project: Spark Issue Type: Bug Components: Spark Core Affects Versions: 3.0.0, 2.4.7, 3.1.0 Reporter: wuyi
Currently, the memory mode always set to ON_HEAP for memory consumer when it's not explicitly set. However, we actually can know the specific memory mode by taskMemoryManager.getTungstenMemoryMode(). [https://github.com/apache/spark/blob/3a299aa6480ac22501512cd0310d31a441d7dfdc/core/src/main/java/org/apache/spark/memory/MemoryConsumer.java#L43-L45] -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org