Merge "Use jdk.GetJavaExecutable() in tools."
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"
     }