You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "wuyi (Jira)" <ji...@apache.org> on 2021/01/12 12:49:00 UTC

[jira] [Created] (SPARK-34089) MemoryConsumer's memory mode should respect MemoryManager's memory mode

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org