aboutsummaryrefslogtreecommitdiff
path: root/project/SparkBuild.scala
diff options
context:
space:
mode:
authorYin Huai <yhuai@databricks.com>2015-07-02 22:09:07 -0700
committerYin Huai <yhuai@databricks.com>2015-07-02 22:09:07 -0700
commitf743c79abe5a2fb66be32a896ea47e858569b0c7 (patch)
tree0c88a950211061f9a0318386050caf909ef77482 /project/SparkBuild.scala
parenta59d14f623633c7aef97991341b587c11ca42328 (diff)
downloadspark-f743c79abe5a2fb66be32a896ea47e858569b0c7.tar.gz
spark-f743c79abe5a2fb66be32a896ea47e858569b0c7.tar.bz2
spark-f743c79abe5a2fb66be32a896ea47e858569b0c7.zip
[SPARK-8776] Increase the default MaxPermSize
I am increasing the perm gen size to 256m. https://issues.apache.org/jira/browse/SPARK-8776 Author: Yin Huai <yhuai@databricks.com> Closes #7196 from yhuai/SPARK-8776 and squashes the following commits: 60901b4 [Yin Huai] Fix test. d44b713 [Yin Huai] Make sparkShell and hiveConsole use 256m PermGen size. 30aaf8e [Yin Huai] Increase the default PermGen size to 256m.
Diffstat (limited to 'project/SparkBuild.scala')
-rw-r--r--project/SparkBuild.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala
index 5f389bcc9c..3408c6d51e 100644
--- a/project/SparkBuild.scala
+++ b/project/SparkBuild.scala
@@ -206,7 +206,7 @@ object SparkBuild extends PomBuild {
fork := true,
outputStrategy in run := Some (StdoutOutput),
- javaOptions ++= Seq("-Xmx2G", "-XX:MaxPermSize=1g"),
+ javaOptions ++= Seq("-Xmx2G", "-XX:MaxPermSize=256m"),
sparkShell := {
(runMain in Compile).toTask(" org.apache.spark.repl.Main -usejavacp").value
@@ -299,7 +299,7 @@ object SQL {
object Hive {
lazy val settings = Seq(
- javaOptions += "-XX:MaxPermSize=1g",
+ javaOptions += "-XX:MaxPermSize=256m",
// Specially disable assertions since some Hive tests fail them
javaOptions in Test := (javaOptions in Test).value.filterNot(_ == "-ea"),
// Multiple queries rely on the TestHive singleton. See comments there for more details.