summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2022-09-14 17:55:51 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-09-14 17:55:51 +0000
commit2ba6d37e7b3c1fb2fbc22645d31b44d86df7f31c (patch)
treea06d7f670a0bf046e9301a403ee339e7c41db285
parent056ebde9b55b40233fe0da1e4a8e059fd23247d9 (diff)
parenta1073a5ab5bc02e0d45b65d407e46bb136380374 (diff)
Merge "Increase javac heap to 4096M"
-rw-r--r--java/config/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/config/config.go b/java/config/config.go
index b026d73cf..03288fe6a 100644
--- a/java/config/config.go
+++ b/java/config/config.go
@@ -78,7 +78,7 @@ var (
func init() {
pctx.Import("github.com/google/blueprint/bootstrap")
- exportedVars.ExportStringStaticVariable("JavacHeapSize", "2048M")
+ exportedVars.ExportStringStaticVariable("JavacHeapSize", "4096M")
exportedVars.ExportStringStaticVariable("JavacHeapFlags", "-J-Xmx${JavacHeapSize}")
// ErrorProne can use significantly more memory than javac alone, give it a higher heap