aboutsummaryrefslogtreecommitdiff
path: root/docs/configuration.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/configuration.md')
-rw-r--r--docs/configuration.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index 873a2d0b30..55cf4b2dac 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -739,6 +739,22 @@ Apart from these, the following properties are also available, and may be useful
</td>
</tr>
<tr>
+ <td><code>spark.memory.offHeap.enabled</code></td>
+ <td>true</td>
+ <td>
+ If true, Spark will attempt to use off-heap memory for certain operations. If off-heap memory use is enabled, then <code>spark.memory.offHeap.size</code> must be positive.
+ </td>
+</tr>
+<tr>
+ <td><code>spark.memory.offHeap.size</code></td>
+ <td>0</td>
+ <td>
+ The absolute amount of memory which can be used for off-heap allocation.
+ This setting has no impact on heap memory usage, so if your executors' total memory consumption must fit within some hard limit then be sure to shrink your JVM heap size accordingly.
+ This must be set to a positive value when <code>spark.memory.offHeap.enabled=true</code>.
+ </td>
+</tr>
+<tr>
<td><code>spark.memory.useLegacyMode</code></td>
<td>false</td>
<td>