Skip to content

Commit d44b713

Browse files
committed
Make sparkShell and hiveConsole use 256m PermGen size.
1 parent 30aaf8e commit d44b713

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

project/SparkBuild.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ object SparkBuild extends PomBuild {
206206
fork := true,
207207
outputStrategy in run := Some (StdoutOutput),
208208

209-
javaOptions ++= Seq("-Xmx2G", "-XX:MaxPermSize=1g"),
209+
javaOptions ++= Seq("-Xmx2G", "-XX:MaxPermSize=256m"),
210210

211211
sparkShell := {
212212
(runMain in Compile).toTask(" org.apache.spark.repl.Main -usejavacp").value
@@ -299,7 +299,7 @@ object SQL {
299299
object Hive {
300300

301301
lazy val settings = Seq(
302-
javaOptions += "-XX:MaxPermSize=1g",
302+
javaOptions += "-XX:MaxPermSize=256m",
303303
// Specially disable assertions since some Hive tests fail them
304304
javaOptions in Test := (javaOptions in Test).value.filterNot(_ == "-ea"),
305305
// Multiple queries rely on the TestHive singleton. See comments there for more details.

0 commit comments

Comments
 (0)