[ 
https://issues.apache.org/jira/browse/SPARK-5073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264535#comment-14264535
 ] 

Sean Owen commented on SPARK-5073:
----------------------------------

The documentation suggests that 8192 is the intended default, and that's 
consistent with the javadoc that says this should be a limit near the OS page 
size, which is indeed I think 4KB on modern OSes (?). So open a PR to fix the 
default in {{TransportConf}}?

> "spark.storage.memoryMapThreshold" have two default value
> ---------------------------------------------------------
>
>                 Key: SPARK-5073
>                 URL: https://issues.apache.org/jira/browse/SPARK-5073
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.2.0
>            Reporter: Yuan Jianhui
>            Priority: Minor
>
> In org.apache.spark.storage.DiskStore:
>      val minMemoryMapBytes = 
> blockManager.conf.getLong("spark.storage.memoryMapThreshold", 2 * 4096L)
> In org.apache.spark.network.util.TransportConf:
>      public int memoryMapBytes() {
>          return conf.getInt("spark.storage.memoryMapThreshold", 2 * 1024 * 
> 1024);
>      }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to