Skip to content

Commit 26c7d38

Browse files
committed
Improve sbt configuration
1 parent 52d9052 commit 26c7d38

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.rat-excludes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,8 @@ test.out/*
4343
.*iml
4444
service.properties
4545
db.lck
46+
build/*
47+
dist/*
48+
.*out
49+
.*ipr
50+
.*iws

project/SparkBuild.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ object SparkBuild extends Build {
183183
javaOptions in Test += "-Dspark.testing=1",
184184
javaOptions in Test += "-Dsun.io.serialization.extendedDebugInfo=true",
185185
javaOptions in Test ++= System.getProperties.filter(_._1 startsWith "spark").map { case (k,v) => s"-D$k=$v" }.toSeq,
186+
javaOptions in Test ++= "-Xmx3g -XX:PermSize=128M -XX:MaxNewSize=256m -XX:MaxPermSize=1g".split(" ").toSeq,
186187
javaOptions += "-Xmx3g",
187188
// Show full stack trace and duration in test cases.
188189
testOptions in Test += Tests.Argument("-oDF"),

0 commit comments

Comments
 (0)