Skip to content

Commit fcce2e5

Browse files
committed
[SPARK-5073] spark.storage.memoryMapThreshold have two default value
1 parent 5c506ce commit fcce2e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

network/common/src/main/java/org/apache/spark/network/util/TransportConf.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public int numConnectionsPerPeer() {
8787
* memory mapping has high overhead for blocks close to or below the page size of the OS.
8888
*/
8989
public int memoryMapBytes() {
90-
return conf.getInt("spark.storage.memoryMapThreshold", 2 * 1024 * 1024);
90+
return conf.getInt("spark.storage.memoryMapThreshold", 2 * 4096);
9191
}
9292

9393
/**

0 commit comments

Comments
 (0)