关注 spark技术分享,
撸spark源码 玩spark最佳实践

MemoryManager Configuration Properties

MemoryManager Configuration Properties

The page describes the memory-related configuration properties of Apache Spark (mostly MemoryManager and “relatives”).

Note
It may be that the page should be somewhere else. Any suggestions?

Use the following idiom to set the configuration properties.

Table 1. Memory-Related Configuration Properties
Name Default Value Description

spark.memory.offHeap.enabled

false

Controls whether Spark will attempt to use off-heap memory for certain operations (true) or not (false).

Tracks whether Tungsten memory will be allocated on the JVM heap or off-heap (using sun.misc.Unsafe).

If enabled, spark.memory.offHeap.size has to be greater than 0.

Used exclusively when MemoryManager is requested for tungstenMemoryMode.

Note
Before Apache Spark 1.6, spark.memory.offHeap.enabled was known as spark.unsafe.offHeap.

spark.memory.offHeap.size

赞(0) 打赏
未经允许不得转载:spark技术分享 » MemoryManager Configuration Properties
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏