You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by Ngone51 <gi...@git.apache.org> on 2018/12/03 03:20:24 UTC

[GitHub] spark pull request #20269: [SPARK-23029] [DOCS] Specifying default units of ...

Github user Ngone51 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20269#discussion_r238135789
  
    --- Diff: core/src/main/scala/org/apache/spark/internal/config/package.scala ---
    @@ -38,10 +38,13 @@ package object config {
         ConfigBuilder("spark.driver.userClassPathFirst").booleanConf.createWithDefault(false)
     
       private[spark] val DRIVER_MEMORY = ConfigBuilder("spark.driver.memory")
    +    .doc("Amount of memory to use for the driver process, in MiB unless otherwise specified.")
         .bytesConf(ByteUnit.MiB)
         .createWithDefaultString("1g")
     
       private[spark] val DRIVER_MEMORY_OVERHEAD = ConfigBuilder("spark.driver.memoryOverhead")
    +    .doc("The amount of off-heap memory to be allocated per driver in cluster mode, " +
    --- End diff --
    
    Hi, @ferdonline , can you explain why this is  **off-heap** memory ?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org