You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by gw...@apache.org on 2015/08/21 20:33:02 UTC

kafka git commit: KAFKA-2457; StackOverflowError during builds

Repository: kafka
Updated Branches:
  refs/heads/trunk 9a6b57334 -> 3285a9c89


KAFKA-2457; StackOverflowError during builds

The default is typically `1m` for 64-bit machines and the Scala compiler sometimes needs more than this.

Author: Ismael Juma <is...@juma.me.uk>

Reviewers: Manikumar Reddy, Gwen Shapira

Closes #157 from ijuma/kafka-2457-stackoverflowerror-during-builds


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/3285a9c8
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/3285a9c8
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/3285a9c8

Branch: refs/heads/trunk
Commit: 3285a9c890c1800b15c85a80e676cf4365cbe785
Parents: 9a6b573
Author: Ismael Juma <is...@juma.me.uk>
Authored: Fri Aug 21 11:32:57 2015 -0700
Committer: Gwen Shapira <cs...@gmail.com>
Committed: Fri Aug 21 11:32:57 2015 -0700

----------------------------------------------------------------------
 build.gradle      | 2 +-
 gradle.properties | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/3285a9c8/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index a9bf059..228cbe9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -169,7 +169,7 @@ subprojects {
 
     configure(scalaCompileOptions.forkOptions) {
       memoryMaximumSize = '1g'
-      jvmArgs = ['-XX:MaxPermSize=512m']
+      jvmArgs = ['-XX:MaxPermSize=512m -Xss2m']
     }
   }
 }

http://git-wip-us.apache.org/repos/asf/kafka/blob/3285a9c8/gradle.properties
----------------------------------------------------------------------
diff --git a/gradle.properties b/gradle.properties
index cd4050b..6f18a50 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -17,4 +17,4 @@ group=org.apache.kafka
 version=0.8.3-SNAPSHOT
 scalaVersion=2.10.5
 task=build
-org.gradle.jvmargs=-XX:MaxPermSize=512m -Xmx1024m
+org.gradle.jvmargs=-XX:MaxPermSize=512m -Xmx1024m -Xss2m