Increase stack size when compiling tests.
Change-Id: Icbdb2f2706c39162fd9814b164da5dc7cf471037
diff --git a/build.gradle b/build.gradle
index 053bbfb..ec53231 100644
--- a/build.gradle
+++ b/build.gradle
@@ -474,7 +474,7 @@
options.compilerArgs << '-Xlint:unchecked'
// Javac often runs out of stack space when compiling the tests.
// Increase the stack size for the javac process.
- options.forkOptions.jvmArgs << "-Xss4m"
+ options.forkOptions.jvmArgs << "-Xss8m"
// Set the bootclass path so compilation is consistent with 1.8 target compatibility.
options.forkOptions.jvmArgs << "-Xbootclasspath/a:third_party/openjdk/openjdk-rt-1.8/rt.jar"
}