[ https://issues.apache.org/jira/browse/SPARK-34089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263316#comment-17263316 ]
Apache Spark commented on SPARK-34089: -------------------------------------- User 'Ngone51' has created a pull request for this issue: https://github.com/apache/spark/pull/31152 > 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: 2.4.7, 3.0.0, 3.1.0 > Reporter: wuyi > Priority: Major > > 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