Skip to content

[SPARK-8776] Increase the default MaxPermSize #7196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

[SPARK-8776] Increase the default MaxPermSize #7196

wants to merge 3 commits into from

Conversation

yhuai
Copy link
Contributor

@yhuai yhuai commented Jul 2, 2015

I am increasing the perm gen size to 256m.

https://issues.apache.org/jira/browse/SPARK-8776

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@SparkQA
Copy link

SparkQA commented Jul 2, 2015

Test build #36426 has started for PR 7196 at commit 30aaf8e.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@SparkQA
Copy link

SparkQA commented Jul 2, 2015

Test build #36428 has started for PR 7196 at commit d44b713.

@@ -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"),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marmbrus This setting only affect sparkShell and sparkSql, right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and probably the tests

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait, why do we want to lower it here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We just want to align it with what happens when you run the spark-shell normally.

@SparkQA
Copy link

SparkQA commented Jul 2, 2015

Test build #36426 has finished for PR 7196 at commit 30aaf8e.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • case class CreateNamedStruct(children: Seq[Expression]) extends Expression

@AmplabJenkins
Copy link

Merged build finished. Test FAILed.

@yhuai
Copy link
Contributor Author

yhuai commented Jul 2, 2015

test this please.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@SparkQA
Copy link

SparkQA commented Jul 2, 2015

Test build #36438 has started for PR 7196 at commit d44b713.

@SparkQA
Copy link

SparkQA commented Jul 2, 2015

Test build #36428 has finished for PR 7196 at commit d44b713.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • case class CreateNamedStruct(children: Seq[Expression]) extends Expression
    • case class ShiftLeft(left: Expression, right: Expression) extends BinaryExpression
    • case class ShiftRight(left: Expression, right: Expression) extends BinaryExpression

@AmplabJenkins
Copy link

Merged build finished. Test FAILed.

@SparkQA
Copy link

SparkQA commented Jul 3, 2015

Test build #36438 has finished for PR 7196 at commit d44b713.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Merged build finished. Test FAILed.

@andrewor14
Copy link
Contributor

retest this please

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@SparkQA
Copy link

SparkQA commented Jul 3, 2015

Test build #36460 has started for PR 7196 at commit d44b713.

@@ -194,7 +194,7 @@ private void testCmdBuilder(boolean isDriver) throws Exception {
if (isDriver) {
assertEquals("-XX:MaxPermSize=256m", arg);
} else {
assertEquals("-XX:MaxPermSize=128m", arg);
assertEquals("-XX:MaxPermSize=256m", arg);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andrewor14 What does isDriver do at here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it literally just says give more perm space for the driver than executors. This change is probably OK.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@SparkQA
Copy link

SparkQA commented Jul 3, 2015

Test build #36467 has started for PR 7196 at commit 60901b4.

@SparkQA
Copy link

SparkQA commented Jul 3, 2015

Test build #36460 has finished for PR 7196 at commit d44b713.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Merged build finished. Test FAILed.

@SparkQA
Copy link

SparkQA commented Jul 3, 2015

Test build #36467 has finished for PR 7196 at commit 60901b4.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Merged build finished. Test PASSed.

@yhuai
Copy link
Contributor Author

yhuai commented Jul 3, 2015

OK. I am merging it to master and branch 1.4.

asfgit pushed a commit that referenced this pull request Jul 3, 2015
I am increasing the perm gen size to 256m.

https://issues.apache.org/jira/browse/SPARK-8776

Author: Yin Huai <[email protected]>

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.

(cherry picked from commit f743c79)
Signed-off-by: Yin Huai <[email protected]>
@asfgit asfgit closed this in f743c79 Jul 3, 2015
@@ -194,7 +194,7 @@ private void testCmdBuilder(boolean isDriver) throws Exception {
if (isDriver) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove this condition then?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, yes

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not worth another PR since it's already merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants