spark-instrumented-optimizer/build
Kent Yao 35bab33984 [SPARK-30121][BUILD] Fix memory usage in sbt build script
### What changes were proposed in this pull request?
1. the default memory setting is missing in usage instructions
```
build/sbt -h
```
before
```
-mem    <integer>  set memory options (default: , which is -Xms2048m -Xmx2048m -XX:ReservedCodeCacheSize=256m)
```
after
```
-mem    <integer>  set memory options (default: 2048, which is -Xms2048m -Xmx2048m -XX:ReservedCodeCacheSize=256m)
```
2. the Perm space is not needed anymore, since java7 is removed.

the changes in this pr are based on the main sbt script of the newest stable version 1.3.4.

### Why are the changes needed?

bug fix

### Does this PR introduce any user-facing change?

no

### How was this patch tested?

manually

Closes #26757 from yaooqinn/SPARK-30121.

Authored-by: Kent Yao <yaooqinn@hotmail.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
2019-12-05 11:50:55 -06:00
..
mvn [SPARK-29159][BUILD] Increase ReservedCodeCacheSize to 1G 2019-09-19 00:24:15 -07:00
sbt [SPARK-30121][BUILD] Fix memory usage in sbt build script 2019-12-05 11:50:55 -06:00
sbt-launch-lib.bash [SPARK-30121][BUILD] Fix memory usage in sbt build script 2019-12-05 11:50:55 -06:00
spark-build-info [SPARK-14279][BUILD] Pick the spark version from pom 2016-06-06 09:42:50 -07:00